1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos ASN1_ITEM_lookup, ASN1_ITEM_get - lookup ASN.1 structures 6 1.1 christos 7 1.1 christos =head1 SYNOPSIS 8 1.1 christos 9 1.1 christos #include <openssl/asn1.h> 10 1.1 christos 11 1.1 christos const ASN1_ITEM *ASN1_ITEM_lookup(const char *name); 12 1.1 christos const ASN1_ITEM *ASN1_ITEM_get(size_t i); 13 1.1 christos 14 1.1 christos =head1 DESCRIPTION 15 1.1 christos 16 1.1.1.2 christos ASN1_ITEM_lookup() returns the B<ASN1_ITEM> named I<name>. 17 1.1 christos 18 1.1.1.2 christos ASN1_ITEM_get() returns the B<ASN1_ITEM> with index I<i>. This function 19 1.1.1.2 christos returns NULL if the index I<i> is out of range. 20 1.1 christos 21 1.1 christos =head1 RETURN VALUES 22 1.1 christos 23 1.1 christos ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure 24 1.1.1.2 christos or NULL if an error occurred. 25 1.1 christos 26 1.1 christos =head1 SEE ALSO 27 1.1 christos 28 1.1 christos L<ERR_get_error(3)> 29 1.1 christos 30 1.1 christos =head1 COPYRIGHT 31 1.1 christos 32 1.1 christos Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. 33 1.1 christos 34 1.1.1.2 christos Licensed under the Apache License 2.0 (the "License"). You may not use 35 1.1 christos this file except in compliance with the License. You can obtain a copy 36 1.1 christos in the file LICENSE in the source distribution or at 37 1.1 christos L<https://www.openssl.org/source/license.html>. 38 1.1 christos 39 1.1 christos =cut 40