| 
									
										
										
										
											2016-09-28 04:15:57 +08:00
										 |  |  | =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 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-28 14:07:18 +08:00
										 |  |  | ASN1_ITEM_lookup() returns the B<ASN1_ITEM> named I<name>. | 
					
						
							| 
									
										
										
										
											2016-09-28 04:15:57 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-28 14:07:18 +08:00
										 |  |  | ASN1_ITEM_get() returns the B<ASN1_ITEM> with index I<i>. This function | 
					
						
							|  |  |  | returns NULL if the index I<i> is out of range. | 
					
						
							| 
									
										
										
										
											2016-09-28 04:15:57 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | =head1 RETURN VALUES | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure | 
					
						
							| 
									
										
										
										
											2019-09-28 14:07:18 +08:00
										 |  |  | or NULL if an error occurred. | 
					
						
							| 
									
										
										
										
											2016-09-28 04:15:57 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | =head1 SEE ALSO | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | L<ERR_get_error(3)> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | =head1 COPYRIGHT | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-06 21:04:44 +08:00
										 |  |  | Licensed under the Apache License 2.0 (the "License").  You may not use | 
					
						
							| 
									
										
										
										
											2016-09-28 04:15:57 +08:00
										 |  |  | 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 |