]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/ASN1_ITEM_lookup.pod
Expand the XTS documentation
[thirdparty/openssl.git] / doc / man3 / ASN1_ITEM_lookup.pod
CommitLineData
56501ebd
DSH
1=pod
2
3=head1 NAME
4
5ASN1_ITEM_lookup, ASN1_ITEM_get - lookup ASN.1 structures
6
7=head1 SYNOPSIS
8
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
14=head1 DESCRIPTION
15
723e9c89 16ASN1_ITEM_lookup() returns the B<ASN1_ITEM> named I<name>.
56501ebd 17
723e9c89
RL
18ASN1_ITEM_get() returns the B<ASN1_ITEM> with index I<i>. This function
19returns NULL if the index I<i> is out of range.
56501ebd
DSH
20
21=head1 RETURN VALUES
22
23ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure
723e9c89 24or NULL if an error occurred.
56501ebd
DSH
25
26=head1 SEE ALSO
27
28L<ERR_get_error(3)>
29
30=head1 COPYRIGHT
31
32Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
33
4746f25a 34Licensed under the Apache License 2.0 (the "License"). You may not use
56501ebd
DSH
35this file except in compliance with the License. You can obtain a copy
36in the file LICENSE in the source distribution or at
37L<https://www.openssl.org/source/license.html>.
38
39=cut