Decode an ASN.1 value described by it from a FILE, with library context.
Synopsis
Declared in <openssl/asn1.h>
void*
ASN1_item_d2i_fp_ex(
ASN1_ITEM const* it,
FILE* in,
void* x,
OSSL_LIB_CTX* libctx,
char const* propq);
Return Value
Decoded object pointer, or NULL on error.
Parameters
Name |
Description |
it |
ASN.1 item describing the type to decode. |
in |
Open FILE positioned at DER input. |
x |
Optional existing object to reuse, or NULL to allocate. |
libctx |
Library context for algorithm fetches during decode, or NULL for the default. |
propq |
Property query for algorithm fetches, or NULL. |
Created with MrDocs