Install suffix encode/free callbacks on a BIO_f_asn1() filter BIO.

Synopsis

Declared in <openssl/bio.h>

int
BIO_asn1_set_suffix(
    BIO* b,
    asn1_ps_func* suffix,
    asn1_ps_func* suffix_free);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

b

ASN.1 filter BIO to configure.

suffix

Callback that writes suffix octets after each ASN.1 item, or NULL.

suffix_free

Optional cleanup for suffix state, or NULL.

Created with MrDocs