Encode a typed structure as a SEQUENCE and store it in an ASN1_TYPE.
Declared in <openssl/asn1.h>
ASN1_TYPE*
ASN1_TYPE_pack_sequence(
ASN1_ITEM const* it,
void* s,
ASN1_TYPE** t);
ASN1_TYPE holding the packed SEQUENCE, or NULL on error.
| Name | Description |
|---|---|
| it | ASN.1 item describing the SEQUENCE type of s. |
| s | Structure instance to encode (type implied by it). |
| t | Optional destination ASN1_TYPE pointer; when non-NULL, *t is reused or allocated. |