Print a private key (including private components) to a BIO.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_print_private(
    BIO* out,
    EVP_PKEY const* pkey,
    int indent,
    ASN1_PCTX* pctx);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

out

Output BIO.

pkey

Key to print.

indent

Indentation depth in spaces.

pctx

ASN.1 print context, or NULL for defaults.

Created with MrDocs