diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-09-27 21:15:57 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-09-29 16:21:45 +0100 |
commit | 56501ebd09316941a6deba111e33ccc166641b25 (patch) | |
tree | f6854b9508d29e48df3818e5213a4f01ca2b108d /doc/crypto | |
parent | 83ae4661315d3d0ad52ddaa8fa5c8f1055c6c6f6 (diff) |
Add ASN1_ITEM lookup and enumerate functions.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'doc/crypto')
-rw-r--r-- | doc/crypto/ASN1_ITEM_lookup.pod | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/crypto/ASN1_ITEM_lookup.pod b/doc/crypto/ASN1_ITEM_lookup.pod new file mode 100644 index 0000000000..9ba69c9d34 --- /dev/null +++ b/doc/crypto/ASN1_ITEM_lookup.pod @@ -0,0 +1,39 @@ +=pod + +=head1 NAME + +ASN1_ITEM_lookup, ASN1_ITEM_get - lookup ASN.1 structures + +=head1 SYNOPSIS + + #include <openssl/asn1.h> + + const ASN1_ITEM *ASN1_ITEM_lookup(const char *name); + const ASN1_ITEM *ASN1_ITEM_get(size_t i); + +=head1 DESCRIPTION + +ASN1_ITEM_lookup() returns the B<ASN1_ITEM name>. + +ASN1_ITEM_get() returns the B<ASN1_ITEM> with index B<i>. This function +returns B<NULL> if the index B<i> is out of range. + +=head1 RETURN VALUES + +ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure +or B<NULL> if an error occurred. + +=head1 SEE ALSO + +L<ERR_get_error(3)> + +=head1 COPYRIGHT + +Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L<https://www.openssl.org/source/license.html>. + +=cut |