Set an ASN1_TYPE to type, taking ownership of value (no copy).

Synopsis

Declared in <openssl/asn1.h>

void
ASN1_TYPE_set(
    ASN1_TYPE* a,
    int type,
    void* value);

Parameters

Name

Description

a

Destination ANY/CHOICE container to update.

type

ASN.1 type tag (V_ASN1_*); for V_ASN1_BOOLEAN, value may be NULL to mean FALSE.

value

Pointer to the typed value transferred into a, or NULL where the type allows it.

Created with MrDocs