Pretty‐print an ASN.1 value described by it to a BIO.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_item_print(
    BIO* out,
    ASN1_VALUE const* ifld,
    int indent,
    ASN1_ITEM const* it,
    ASN1_PCTX const* pctx);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

out

Output BIO.

ifld

Value to print (typed according to it).

indent

Initial indentation depth in spaces.

it

ASN.1 item descriptor for the type of ifld.

pctx

Print context with ASN1_PCTX_FLAGS_*, or NULL for defaults.

Created with MrDocs