EVP_PKEY_print_public_fp

Print the public components of pkey to a FILE.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_print_public_fp(
    FILE* fp,
    EVP_PKEY const* pkey,
    int indent,
    ASN1_PCTX* pctx);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
fpOutput stream.
pkeyKey whose public material is printed.
indentIndentation width in spaces.
pctxOptional ASN.1 print context, or NULL for defaults.