Home | History | Annotate | Line # | Download | only in man3
      1 =pod
      2 
      3 =head1 NAME
      4 
      5 ASN1_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 
     16 ASN1_ITEM_lookup() returns the B<ASN1_ITEM> named I<name>.
     17 
     18 ASN1_ITEM_get() returns the B<ASN1_ITEM> with index I<i>. This function
     19 returns NULL if the index I<i> is out of range.
     20 
     21 =head1 RETURN VALUES
     22 
     23 ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure
     24 or NULL if an error occurred.
     25 
     26 =head1 SEE ALSO
     27 
     28 L<ERR_get_error(3)>
     29 
     30 =head1 COPYRIGHT
     31 
     32 Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
     33 
     34 Licensed under the Apache License 2.0 (the "License").  You may not use
     35 this file except in compliance with the License.  You can obtain a copy
     36 in the file LICENSE in the source distribution or at
     37 L<https://www.openssl.org/source/license.html>.
     38 
     39 =cut
     40