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