Prefix/suffix producer for an ASN.1 filter BIO (BIO_f_asn1).

Synopsis

Declared in <openssl/bio.h>

typedef int asn1_ps_func(BIO*, unsigned char**, int*, void*);

Return Value

1 on success, or <=0 on failure.

Parameters

Name

Description

b

ASN.1 BIO requesting prefix or suffix octets.

pbuf

Receives a pointer to the produced buffer (owned per BIO_asn1_set_* contract).

plen

Receives the number of bytes at *`pbuf.`

parg

Opaque pointer from BIO_asn1_set_prefix() / BIO_asn1_set_suffix().

Created with MrDocs