1ASN1_ITEM_LOOKUP(3) OpenSSL ASN1_ITEM_LOOKUP(3)
2
3
4
6 ASN1_ITEM_lookup, ASN1_ITEM_get - lookup ASN.1 structures
7
9 #include <openssl/asn1.h>
10
11 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
12 const ASN1_ITEM *ASN1_ITEM_get(size_t i);
13
15 ASN1_ITEM_lookup() returns the ASN1_ITEM name.
16
17 ASN1_ITEM_get() returns the ASN1_ITEM with index i. This function
18 returns NULL if the index i is out of range.
19
21 ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid ASN1_ITEM
22 structure or NULL if an error occurred.
23
25 ERR_get_error(3)
26
28 Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
29
30 Licensed under the OpenSSL license (the "License"). You may not use
31 this file except in compliance with the License. You can obtain a copy
32 in the file LICENSE in the source distribution or at
33 <https://www.openssl.org/source/license.html>.
34
35
36
371.1.1q 2023-07-20 ASN1_ITEM_LOOKUP(3)