EVP_PKEY_print_private_fp

Print the private components of pkey to a FILE in human-readable form.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_print_private_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 private material is printed.
indentIndentation depth for the printed text.
pctxOptional ASN.1 print options, or NULL for defaults.