Print the public components of pkey to a BIO in human‐readable form.

Synopsis

Declared in <openssl/evp.h>

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

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

out

Output BIO.

pkey

Key whose public material is printed.

indent

Indentation width in spaces.

pctx

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

Created with MrDocs