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

Name

Description

fp

Output stream.

pkey

Key whose private material is printed.

indent

Indentation depth for the printed text.

pctx

Optional ASN.1 print options, or NULL for defaults.

Created with MrDocs