ASN1_ITEM_lookup.pod 925 B

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