/external/openssl/include/openssl/ |
D | x509v3.h | 79 typedef STACK_OF(CONF_VALUE) * typedef 81 STACK_OF(CONF_VALUE) *extlist); 84 STACK_OF(CONF_VALUE) *values); 123 STACK_OF(CONF_VALUE) * (*get_section)(void *db, char *section); 125 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section); 207 typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES; 214 typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS; 216 typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE; 228 STACK_OF(X509_NAME_ENTRY) *relativename; 255 typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS; [all …]
|
D | x509_vfy.h | 175 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */ 187 STACK_OF(X509_OBJECT) *objs; /* Cache of all objects */ 190 STACK_OF(X509_LOOKUP) *get_cert_methods; 203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 204 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm); 237 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */ 238 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */ 253 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 254 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm); 260 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */ [all …]
|
D | pkcs7.h | 97 STACK_OF(X509_ATTRIBUTE) *auth_attr; /* [ 0 ] */ 100 STACK_OF(X509_ATTRIBUTE) *unauth_attr; /* [ 1 ] */ 124 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 125 STACK_OF(X509) *cert; /* [ 0 ] */ 126 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ 127 STACK_OF(PKCS7_SIGNER_INFO) *signer_info; 145 STACK_OF(PKCS7_RECIP_INFO) *recipientinfo; 152 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 153 STACK_OF(X509) *cert; /* [ 0 ] */ 154 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ [all …]
|
D | pkcs12.h | 117 STACK_OF(PKCS12_SAFEBAG) *safes; 120 STACK_OF(X509_ATTRIBUTE) *attrib; 189 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk); 190 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7); 193 STACK_OF(PKCS12_SAFEBAG) *bags); 194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen); 196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12); 207 ASN1_TYPE *PKCS12_get_attr_gen(STACK_OF(X509_ATTRIBUTE) *attrs, int attr_nid); 246 STACK_OF(X509) **ca); [all …]
|
D | x509.h | 152 typedef STACK_OF(X509_ALGOR) X509_ALGORS; 187 STACK_OF(X509_NAME_ENTRY) *entries; 210 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS; 222 /* 0 */ STACK_OF(ASN1_TYPE) *set; 238 STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */ 260 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */ 271 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ 272 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */ 275 STACK_OF(X509_ALGOR) *other; /* other unspecified info */ 297 STACK_OF(DIST_POINT) *crldp; [all …]
|
/external/openssl/crypto/x509v3/ |
D | x509v3.h | 79 typedef STACK_OF(CONF_VALUE) * typedef 81 STACK_OF(CONF_VALUE) *extlist); 84 STACK_OF(CONF_VALUE) *values); 123 STACK_OF(CONF_VALUE) * (*get_section)(void *db, char *section); 125 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section); 207 typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES; 214 typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS; 216 typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE; 228 STACK_OF(X509_NAME_ENTRY) *relativename; 255 typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS; [all …]
|
D | pcy_int.h | 77 STACK_OF(POLICYQUALINFO) *qualifier_set; 78 STACK_OF(ASN1_OBJECT) *expected_policy_set; 117 STACK_OF(X509_POLICY_DATA) *data; 149 STACK_OF(X509_POLICY_NODE) *nodes; 165 STACK_OF(X509_POLICY_DATA) *extra_data; 167 STACK_OF(X509_POLICY_NODE) *auth_policies; 168 STACK_OF(X509_POLICY_NODE) *user_policies; 191 STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void); 201 X509_POLICY_NODE *tree_find_sk(STACK_OF(X509_POLICY_NODE) *sk,
|
D | v3_cpols.c | 70 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, BIO *out, int indent); 71 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *value); 72 static void print_qualifiers(BIO *out, STACK_OF(POLICYQUALINFO) *quals, int indent); 75 STACK_OF(CONF_VALUE) *polstrs, int ia5org); 77 STACK_OF(CONF_VALUE) *unot, int ia5org); 78 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos); 131 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method, 134 STACK_OF(POLICYINFO) *pols = NULL; 138 STACK_OF(CONF_VALUE) *vals; 164 STACK_OF(CONF_VALUE) *polsect; [all …]
|
D | v3_crld.c | 67 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); 93 static STACK_OF(GENERAL_NAME) *gnames_from_sectname(X509V3_CTX *ctx, char *sect) in STACK_OF() function 95 STACK_OF(CONF_VALUE) *gnsect; in STACK_OF() 96 STACK_OF(GENERAL_NAME) *gens; in STACK_OF() 118 STACK_OF(GENERAL_NAME) *fnm = NULL; in set_dist_point_name() 119 STACK_OF(X509_NAME_ENTRY) *rnm = NULL; in set_dist_point_name() 129 STACK_OF(CONF_VALUE) *dnsect; in set_dist_point_name() 208 STACK_OF(CONF_VALUE) *rsk = NULL; in set_reasons() 271 STACK_OF(CONF_VALUE) *nval) in crldp_from_section() 312 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_crld() [all …]
|
D | v3_utl.c | 70 static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens); 72 static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, ASN1_IA5STRING *email); 82 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value() 104 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_uchar() 121 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_bool() 128 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_bool_nf() 202 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_int() 250 STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line) in STACK_OF() function 254 STACK_OF(CONF_VALUE) *values = NULL; in STACK_OF() 466 STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x) in STACK_OF() function [all …]
|
D | v3_bcons.c | 67 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, BASIC_CONSTRAINTS *bc… 68 …INTS *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *valu… 89 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, 90 BASIC_CONSTRAINTS *bcons, STACK_OF(CONF_VALUE) *extlist) 98 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values) in v2i_BASIC_CONSTRAINTS()
|
D | v3_pcons.c | 67 static STACK_OF(CONF_VALUE) * 69 STACK_OF(CONF_VALUE) *extlist); 72 STACK_OF(CONF_VALUE) *values); 93 static STACK_OF(CONF_VALUE) * 95 STACK_OF(CONF_VALUE) *extlist) 107 STACK_OF(CONF_VALUE) *values) in v2i_POLICY_CONSTRAINTS()
|
D | v3_extku.c | 68 STACK_OF(CONF_VALUE) *nval); 69 static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method, 70 void *eku, STACK_OF(CONF_VALUE) *extlist); 101 static STACK_OF(CONF_VALUE) * in ASN1_ITEM_TEMPLATE() 103 STACK_OF(CONF_VALUE) *ext_list) in ASN1_ITEM_TEMPLATE() 118 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_EXTENDED_KEY_USAGE()
|
D | v3_pmaps.c | 67 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); 68 static STACK_OF(CONF_VALUE) * 70 STACK_OF(CONF_VALUE) *extlist); 96 static STACK_OF(CONF_VALUE) * 98 STACK_OF(CONF_VALUE) *ext_list) 115 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_POLICY_MAPPINGS()
|
/external/openssl/crypto/x509/ |
D | x509_vfy.h | 175 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */ 187 STACK_OF(X509_OBJECT) *objs; /* Cache of all objects */ 190 STACK_OF(X509_LOOKUP) *get_cert_methods; 203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 204 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm); 237 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */ 238 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */ 253 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 254 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm); 260 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */ [all …]
|
D | x509_att.c | 68 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) in X509at_get_attr_count() 73 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, in X509at_get_attr_by_NID() 83 int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, ASN1_OBJECT *obj, in X509at_get_attr_by_OBJ() 103 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_get_attr() 111 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_delete_attr() 121 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function 125 STACK_OF(X509_ATTRIBUTE) *sk=NULL; in STACK_OF() 156 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function 161 STACK_OF(X509_ATTRIBUTE) *ret; in STACK_OF() 169 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function [all …]
|
D | x509.h | 152 typedef STACK_OF(X509_ALGOR) X509_ALGORS; 187 STACK_OF(X509_NAME_ENTRY) *entries; 210 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS; 222 /* 0 */ STACK_OF(ASN1_TYPE) *set; 238 STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */ 260 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */ 271 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ 272 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */ 275 STACK_OF(X509_ALGOR) *other; /* other unspecified info */ 297 STACK_OF(DIST_POINT) *crldp; [all …]
|
D | x509_v3.c | 68 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) in X509v3_get_ext_count() 74 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, in X509v3_get_ext_by_NID() 84 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, ASN1_OBJECT *obj, in X509v3_get_ext_by_OBJ() 104 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, in X509v3_get_ext_by_critical() 125 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext() 133 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext() 143 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, in STACK_OF() function 148 STACK_OF(X509_EXTENSION) *sk=NULL; in STACK_OF()
|
/external/openssl/crypto/pkcs7/ |
D | pkcs7.h | 97 STACK_OF(X509_ATTRIBUTE) *auth_attr; /* [ 0 ] */ 100 STACK_OF(X509_ATTRIBUTE) *unauth_attr; /* [ 1 ] */ 124 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 125 STACK_OF(X509) *cert; /* [ 0 ] */ 126 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ 127 STACK_OF(PKCS7_SIGNER_INFO) *signer_info; 145 STACK_OF(PKCS7_RECIP_INFO) *recipientinfo; 152 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 153 STACK_OF(X509) *cert; /* [ 0 ] */ 154 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ [all …]
|
D | pk7_smime.c | 68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign() 147 static int add_cipher_smcap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) in add_cipher_smcap() 154 static int add_digest_smcap(STACK_OF(X509_ALGOR) *sk, int nid, int arg) in add_digest_smcap() 166 STACK_OF(X509_ALGOR) *smcap = NULL; in PKCS7_sign_add_signer() 238 STACK_OF(PKCS7_SIGNER_INFO) *sinfos; in pkcs7_copy_existing_digest() 266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, in PKCS7_verify() 269 STACK_OF(X509) *signers; in PKCS7_verify() 271 STACK_OF(PKCS7_SIGNER_INFO) *sinfos; in PKCS7_verify() 430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) in STACK_OF() function 432 STACK_OF(X509) *signers; in STACK_OF() [all …]
|
/external/openssl/crypto/pkcs12/ |
D | pkcs12.h | 117 STACK_OF(PKCS12_SAFEBAG) *safes; 120 STACK_OF(X509_ATTRIBUTE) *attrib; 189 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk); 190 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7); 193 STACK_OF(PKCS12_SAFEBAG) *bags); 194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen); 196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12); 207 ASN1_TYPE *PKCS12_get_attr_gen(STACK_OF(X509_ATTRIBUTE) *attrs, int attr_nid); 246 STACK_OF(X509) **ca); [all …]
|
D | p12_kiss.c | 66 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 68 static int parse_bags( STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, 69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 72 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 81 STACK_OF(X509) **ca) in PKCS12_parse() 83 STACK_OF(X509) *ocerts = NULL; in PKCS12_parse() 180 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12() 182 STACK_OF(PKCS7) *asafes; in parse_pk12() 183 STACK_OF(PKCS12_SAFEBAG) *bags; in parse_pk12() 212 static int parse_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, in parse_bags() [all …]
|
D | p12_crt.c | 64 static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag); 80 STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, int mac_iter, in PKCS12_create() 84 STACK_OF(PKCS7) *safes = NULL; in PKCS12_create() 85 STACK_OF(PKCS12_SAFEBAG) *bags = NULL; in PKCS12_create() 187 PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert) in PKCS12_add_cert() 227 PKCS12_SAFEBAG *PKCS12_add_key(STACK_OF(PKCS12_SAFEBAG) **pbags, EVP_PKEY *key, in PKCS12_add_key() 265 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, in PKCS12_add_safe() 311 static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag) in pkcs12_add_bag() 341 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7) in PKCS12_add_safes()
|
/external/openssl/crypto/ocsp/ |
D | ocsp_vfy.c | 63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, 65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id); 66 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain, unsigned long flags); 67 static int ocsp_check_ids(STACK_OF(OCSP_SINGLERESP) *sresp, OCSP_CERTID **ret); 68 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, STACK_OF(OCSP_SINGLERESP) *sresp); 70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *c… 75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in OCSP_basic_verify() 79 STACK_OF(X509) *chain = NULL; in OCSP_basic_verify() 162 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in ocsp_find_signer() 185 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id) in ocsp_find_signer_sk() [all …]
|
/external/openssl/crypto/asn1/ |
D | x_name.c | 66 typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY; 82 static int i2d_name_canon(STACK_OF(STACK_OF_X509_NAME_ENTRY) *intname, 177 union { STACK_OF(STACK_OF_X509_NAME_ENTRY) *s; in x509_name_ex_d2i() 181 STACK_OF(X509_NAME_ENTRY) *entries; in x509_name_ex_d2i() 242 static void local_sk_X509_NAME_ENTRY_free(STACK_OF(X509_NAME_ENTRY) *ne) in local_sk_X509_NAME_ENTRY_free() 247 static void local_sk_X509_NAME_ENTRY_pop_free(STACK_OF(X509_NAME_ENTRY) *ne) in local_sk_X509_NAME_ENTRY_pop_free() 254 union { STACK_OF(STACK_OF_X509_NAME_ENTRY) *s; in x509_name_encode() 258 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_encode() 319 STACK_OF(STACK_OF_X509_NAME_ENTRY) *intname = NULL; in x509_name_canon() 320 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_canon() [all …]
|