Retrieve the ASN.1 prefix producer and optional free callback from a BIO.

Synopsis

Declared in <openssl/bio.h>

int
BIO_asn1_get_prefix(
    BIO* b,
    asn1_ps_func** pprefix,
    asn1_ps_func** pprefix_free);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

b

ASN.1 filter BIO (BIO_f_asn1).

pprefix

Receives the prefix producer, or NULL if unset.

pprefix_free

Receives the matching free callback, or NULL if unset.

Created with MrDocs