Decode DER from an ASN1_STRING using it, with library context for algorithm fetches.

Synopsis

Declared in <openssl/asn1.h>

void*
ASN1_item_unpack_ex(
    ASN1_STRING const* oct,
    ASN1_ITEM const* it,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

Newly allocated typed value, or NULL on error; free with ASN1_item_free.

Parameters

Name

Description

oct

String whose content octets are treated as DER input.

it

ASN.1 item descriptor for the type to decode.

libctx

Library context for algorithm fetches, or NULL for the default.

propq

Property query for algorithm fetches, or NULL.

Created with MrDocs