BIO_asn1_get_prefix

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

NameDescription
bASN.1 filter BIO (BIO_f_asn1).
pprefixReceives the prefix producer, or NULL if unset.
pprefix_freeReceives the matching free callback, or NULL if unset.