Home
last modified time | relevance | path

Searched refs:X509_NAME (Results 1 – 25 of 59) sorted by relevance

123

/external/boringssl/src/crypto/x509/
Dx_name.c93 static int x509_name_encode(X509_NAME *a);
94 static int x509_name_canon(X509_NAME *a);
137 IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) in IMPLEMENT_EXTERN_ASN1() argument
139 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
141 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
145 X509_NAME *ret = NULL; in IMPLEMENT_EXTERN_ASN1()
146 ret = OPENSSL_malloc(sizeof(X509_NAME)); in IMPLEMENT_EXTERN_ASN1()
171 X509_NAME *a; in x509_name_ex_free()
174 a = (X509_NAME *)*pval; in x509_name_ex_free()
207 X509_NAME *x; in x509_name_ex_d2i()
[all …]
Dx509name.c69 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) in X509_NAME_get_text_by_NID()
79 int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ()
97 int X509_NAME_entry_count(X509_NAME *name) in X509_NAME_entry_count()
104 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID()
115 int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ()
136 X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc) in X509_NAME_get_entry()
145 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry()
179 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
193 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID()
207 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, in X509_NAME_add_entry_by_txt()
[all …]
Dx509_cmp.c134 X509_NAME *X509_get_issuer_name(X509 *a) in X509_get_issuer_name()
149 X509_NAME *X509_get_subject_name(X509 *a) in X509_get_subject_name()
198 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp()
205 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp()
211 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp()
225 unsigned long X509_NAME_hash(X509_NAME *x) in X509_NAME_hash()
247 unsigned long X509_NAME_hash_old(X509_NAME *x) in X509_NAME_hash_old()
269 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial()
291 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name) in X509_find_by_subject()
Dx_crl.c84 ASN1_INTEGER *ser, X509_NAME *issuer);
100 X509_NAME *issuer);
139 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
422 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match()
453 X509_NAME *issuer) in def_crl_lookup()
506 X509_NAME *issuer), in X509_CRL_METHOD_new()
Dx509_lu.c128 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_subject()
138 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_issuer_serial()
298 int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name, in X509_STORE_get_by_subject()
450 X509_NAME *name, int *pnmatch) in x509_object_idx_cnt()
497 X509_NAME *name) in X509_OBJECT_idx_by_subject()
503 int type, X509_NAME *name) in X509_OBJECT_retrieve_by_subject()
517 STACK_OF (X509) * X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
563 STACK_OF (X509_CRL) * X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
640 X509_NAME *xn; in X509_STORE_CTX_get1_issuer()
Dx509_set.c96 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name()
103 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name()
Dx509rset.c69 int X509_REQ_set_subject_name(X509_REQ *x, X509_NAME *name) in X509_REQ_set_subject_name()
Da_strex.c449 static int do_name_ex(char_io *io_ch, void *arg, X509_NAME *n, in do_name_ex()
587 int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, in X509_NAME_print_ex()
596 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, in X509_NAME_print_ex_fp()
Dx_x509.c79 ASN1_SIMPLE(X509_CINF, issuer, X509_NAME),
81 ASN1_SIMPLE(X509_CINF, subject, X509_NAME),
Dx_req.c91 ASN1_SIMPLE(X509_REQ_INFO, subject, X509_NAME),
Dx509_r2x.c70 X509_NAME *xn; in X509_REQ_to_X509()
Dby_dir.c96 static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name,
256 static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, in get_cert_by_subject()
/external/boringssl/src/include/openssl/
Dx509.h161 DEFINE_STACK_OF(X509_NAME)
195 X509_NAME *subject;
214 X509_NAME *issuer;
216 X509_NAME *subject;
407 X509_NAME *issuer;
551 ASN1_INTEGER *ser, X509_NAME *issuer),
599 OPENSSL_EXPORT int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type,
693 OPENSSL_EXPORT X509_NAME *X509_NAME_dup(X509_NAME *xn);
697 OPENSSL_EXPORT int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder,
750 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[all …]
Dx509_vfy.h128 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
130 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
175 X509_NAME *nm);
177 X509_NAME *nm);
435 X509_NAME *name);
436 …RT X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
447 OPENSSL_EXPORT STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
448 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
535 OPENSSL_EXPORT int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name,
551 OPENSSL_EXPORT int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
[all …]
Dx509v3.h199 X509_NAME *directoryName;
207 X509_NAME *dirn; /* dirn */
240 X509_NAME *dpname;
584 OPENSSL_EXPORT int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname);
734 OPENSSL_EXPORT int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE)*dn_sk,
/external/boringssl/src/ssl/
Dssl_file.cc127 static int xname_cmp(const X509_NAME **a, const X509_NAME **b) { in xname_cmp()
133 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file) { in STACK_OF() argument
136 X509_NAME *xn = NULL; in STACK_OF()
137 STACK_OF(X509_NAME) *ret = NULL, *sk; in STACK_OF()
197 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_file_cert_subjects_to_stack()
201 X509_NAME *xn = NULL; in SSL_add_file_cert_subjects_to_stack()
203 int (*oldcmp)(const X509_NAME **a, const X509_NAME **b); in SSL_add_file_cert_subjects_to_stack()
Dssl_x509.cc252 UniquePtr<X509_NAME> name( in ssl_crypto_x509_check_client_CA_list()
1042 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *list) { in STACK_OF() argument
1047 const STACK_OF(X509_NAME) *name_list, in set_client_CA_list()
1054 for (X509_NAME *name : name_list) { in set_client_CA_list()
1072 void SSL_set_client_CA_list(SSL *ssl, STACK_OF(X509_NAME) *name_list) { in SSL_set_client_CA_list()
1082 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) { in SSL_CTX_set_client_CA_list()
1089 static STACK_OF(X509_NAME) * in STACK_OF() argument
1091 STACK_OF(X509_NAME) **cached) { in STACK_OF()
1100 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF()
1108 UniquePtr<X509_NAME> name( in STACK_OF()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_ncons.c83 static int nc_dn(X509_NAME *sub, X509_NAME *nm);
235 X509_NAME *nm; in NAME_CONSTRAINTS_check()
378 static int nc_dn(X509_NAME *nm, X509_NAME *base) in nc_dn()
Dv3name_test.cc139 X509_NAME *n = NULL; in set_cn()
303 X509_NAME *issuer = NULL; in make_cert()
Dv3_crld.c127 X509_NAME *nm; in set_dist_point_name()
481 X509_NAME ntmp; in print_distpoint()
535 int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname) in DIST_POINT_set_dpname()
/external/libchrome/crypto/
Dwincrypt_shim.h19 #undef X509_NAME
/external/boringssl/src/decrepit/ssl/
Dssl_decrepit.c123 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_dir_cert_subjects_to_stack()
/external/curl/lib/vtls/
Dschannel.h49 # undef X509_NAME
/external/kmod/libkmod/
Dlibkmod-signature.c169 static const char *x509_name_to_str(X509_NAME *name) in x509_name_to_str()
204 X509_NAME *issuer; in fill_pkcs7()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c93 X509_NAME *byName;
177 ASN1_EXP(ResponderID, value.byName, X509_NAME, 1),
397 X509_NAME *iname; in issuer_match()

123