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