Eneboo - Documentación para desarrolladores
src/libdigidoc/openssl/crypto/x509v3/ext_dat.h
Ir a la documentación de este archivo.
00001 /* ext_dat.h */
00002 /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
00003  * project 1999.
00004  */
00005 /* ====================================================================
00006  * Copyright (c) 1999-2004 The OpenSSL Project.  All rights reserved.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted provided that the following conditions
00010  * are met:
00011  *
00012  * 1. Redistributions of source code must retain the above copyright
00013  *    notice, this list of conditions and the following disclaimer. 
00014  *
00015  * 2. Redistributions in binary form must reproduce the above copyright
00016  *    notice, this list of conditions and the following disclaimer in
00017  *    the documentation and/or other materials provided with the
00018  *    distribution.
00019  *
00020  * 3. All advertising materials mentioning features or use of this
00021  *    software must display the following acknowledgment:
00022  *    "This product includes software developed by the OpenSSL Project
00023  *    for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
00024  *
00025  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
00026  *    endorse or promote products derived from this software without
00027  *    prior written permission. For written permission, please contact
00028  *    licensing@OpenSSL.org.
00029  *
00030  * 5. Products derived from this software may not be called "OpenSSL"
00031  *    nor may "OpenSSL" appear in their names without prior written
00032  *    permission of the OpenSSL Project.
00033  *
00034  * 6. Redistributions of any form whatsoever must retain the following
00035  *    acknowledgment:
00036  *    "This product includes software developed by the OpenSSL Project
00037  *    for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
00038  *
00039  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
00040  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00041  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00042  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
00043  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00044  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
00045  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00046  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00047  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
00048  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00049  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
00050  * OF THE POSSIBILITY OF SUCH DAMAGE.
00051  * ====================================================================
00052  *
00053  * This product includes cryptographic software written by Eric Young
00054  * (eay@cryptsoft.com).  This product includes software written by Tim
00055  * Hudson (tjh@cryptsoft.com).
00056  *
00057  */
00058 /* This file contains a table of "standard" extensions */
00059 
00060 extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku;
00061 extern X509V3_EXT_METHOD v3_pkey_usage_period, v3_sxnet, v3_info, v3_sinfo;
00062 extern X509V3_EXT_METHOD v3_ns_ia5_list[], v3_alt[], v3_skey_id, v3_akey_id;
00063 extern X509V3_EXT_METHOD v3_crl_num, v3_crl_reason, v3_crl_invdate;
00064 extern X509V3_EXT_METHOD v3_delta_crl, v3_cpols, v3_crld;
00065 extern X509V3_EXT_METHOD v3_ocsp_nonce, v3_ocsp_accresp, v3_ocsp_acutoff;
00066 extern X509V3_EXT_METHOD v3_ocsp_crlid, v3_ocsp_nocheck, v3_ocsp_serviceloc;
00067 extern X509V3_EXT_METHOD v3_crl_hold, v3_pci;
00068 extern X509V3_EXT_METHOD v3_policy_mappings, v3_policy_constraints;
00069 extern X509V3_EXT_METHOD v3_name_constraints, v3_inhibit_anyp;
00070 #ifndef OPENSSL_NO_RFC3779
00071 extern X509V3_EXT_METHOD v3_addr, v3_asid;
00072 #endif
00073 
00074 /* This table will be searched using OBJ_bsearch so it *must* kept in
00075  * order of the ext_nid values.
00076  */
00077 
00078 static X509V3_EXT_METHOD *standard_exts[] = {
00079 &v3_nscert,
00080 &v3_ns_ia5_list[0],
00081 &v3_ns_ia5_list[1],
00082 &v3_ns_ia5_list[2],
00083 &v3_ns_ia5_list[3],
00084 &v3_ns_ia5_list[4],
00085 &v3_ns_ia5_list[5],
00086 &v3_ns_ia5_list[6],
00087 &v3_skey_id,
00088 &v3_key_usage,
00089 &v3_pkey_usage_period,
00090 &v3_alt[0],
00091 &v3_alt[1],
00092 &v3_bcons,
00093 &v3_crl_num,
00094 &v3_cpols,
00095 &v3_akey_id,
00096 &v3_crld,
00097 &v3_ext_ku,
00098 &v3_delta_crl,
00099 &v3_crl_reason,
00100 #ifndef OPENSSL_NO_OCSP
00101 &v3_crl_invdate,
00102 #endif
00103 &v3_sxnet,
00104 &v3_info,
00105 #ifndef OPENSSL_NO_RFC3779
00106 &v3_addr,
00107 &v3_asid,
00108 #endif
00109 #ifndef OPENSSL_NO_OCSP
00110 &v3_ocsp_nonce,
00111 &v3_ocsp_crlid,
00112 &v3_ocsp_accresp,
00113 &v3_ocsp_nocheck,
00114 &v3_ocsp_acutoff,
00115 &v3_ocsp_serviceloc,
00116 #endif
00117 &v3_sinfo,
00118 &v3_policy_constraints,
00119 #ifndef OPENSSL_NO_OCSP
00120 &v3_crl_hold,
00121 #endif
00122 &v3_pci,
00123 &v3_name_constraints,
00124 &v3_policy_mappings,
00125 &v3_inhibit_anyp
00126 };
00127 
00128 /* Number of standard extensions */
00129 
00130 #define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *))
00131 
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'