Home
last modified time | relevance | path

Searched refs:STACK_OF (Results 1 – 25 of 181) sorted by relevance

12345678

/external/openssl/include/openssl/
Dx509v3.h79 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 …]
Dpkcs7.h97 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 …]
Dx509_vfy.h175 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 …]
Dpkcs12.h117 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 …]
Dx509.h152 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 */
272 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */
273 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */
276 STACK_OF(X509_ALGOR) *other; /* other unspecified info */
298 STACK_OF(DIST_POINT) *crldp;
[all …]
/external/openssl/crypto/x509v3/
Dx509v3.h79 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 …]
Dpcy_int.h77 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,
Dv3_cpols.c70 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 …]
Dv3_bcons.c67 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()
Dv3_pcons.c67 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()
Dv3_extku.c68 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()
Dv3_crld.c67 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 …]
Dv3_pmaps.c67 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()
Dv3_utl.c70 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 …]
Dv3_akey.c66 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
67 AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist);
69 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values);
83 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, in STACK_OF() function
84 AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist) in STACK_OF()
112 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values) in v2i_AUTHORITY_KEYID()
/external/openssl/crypto/pkcs7/
Dpkcs7.h97 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 …]
/external/openssl/crypto/x509/
Dx509_vfy.h175 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 …]
Dx509_att.c68 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 …]
Dx509.h152 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 */
272 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */
273 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */
276 STACK_OF(X509_ALGOR) *other; /* other unspecified info */
298 STACK_OF(DIST_POINT) *crldp;
[all …]
Dx509_v3.c68 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/pkcs12/
Dpkcs12.h117 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 …]
Dp12_kiss.c66 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 …]
Dp12_crt.c64 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/
Docsp_vfy.c63 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()
166 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in ocsp_find_signer()
189 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id) in ocsp_find_signer_sk()
[all …]
/external/openssl/crypto/asn1/
Dx_name.c66 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()
244 static void local_sk_X509_NAME_ENTRY_free(STACK_OF(X509_NAME_ENTRY) *ne) in local_sk_X509_NAME_ENTRY_free()
249 static void local_sk_X509_NAME_ENTRY_pop_free(STACK_OF(X509_NAME_ENTRY) *ne) in local_sk_X509_NAME_ENTRY_pop_free()
256 union { STACK_OF(STACK_OF_X509_NAME_ENTRY) *s; in x509_name_encode()
260 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_encode()
321 STACK_OF(STACK_OF_X509_NAME_ENTRY) *intname = NULL; in x509_name_canon()
322 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_canon()
[all …]

12345678