ASN1_ITEM_lookup.3ossl - Man Page

lookup ASN.1 structures

Synopsis

 #include <openssl/asn1.h>

 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
 const ASN1_ITEM *ASN1_ITEM_get(size_t i);

Description

ASN1_ITEM_lookup() returns the ASN1_ITEM named name.

ASN1_ITEM_get() returns the ASN1_ITEM with index i. This function returns NULL if the index i is out of range.

Return Values

ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid ASN1_ITEM structure or NULL if an error occurred.

See Also

ERR_get_error(3)

Referenced By

The man page ASN1_ITEM_get.3ossl(3) is an alias of ASN1_ITEM_lookup.3ossl(3).

2024-03-07 3.2.1 OpenSSL