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

Name

Description

fp

Output stream.

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