Home
last modified time | relevance | path

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

12345

/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()
201 X509_NAME *nm = NULL; in x509_name_ex_d2i()
[all …]
Dx509name.c69 int X509_NAME_get_text_by_NID(const X509_NAME *name, int nid, char *buf, in X509_NAME_get_text_by_NID()
80 int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ()
98 int X509_NAME_entry_count(const X509_NAME *name) in X509_NAME_entry_count()
105 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID()
116 int X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ()
137 X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc) in X509_NAME_get_entry()
146 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry()
180 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
194 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID()
208 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(const X509 *a) in X509_get_issuer_name()
149 X509_NAME *X509_get_subject_name(const X509 *a) in X509_get_subject_name()
209 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp()
216 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp()
222 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp()
236 unsigned long X509_NAME_hash(X509_NAME *x) in X509_NAME_hash()
258 unsigned long X509_NAME_hash_old(X509_NAME *x) in X509_NAME_hash_old()
280 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial()
302 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);
142 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
443 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match()
474 X509_NAME *issuer) in def_crl_lookup()
527 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.c106 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name()
113 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name()
/external/rust/crates/quiche/deps/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()
204 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp()
211 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp()
217 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp()
231 unsigned long X509_NAME_hash(X509_NAME *x) in X509_NAME_hash()
253 unsigned long X509_NAME_hash_old(X509_NAME *x) in X509_NAME_hash_old()
275 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial()
297 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);
142 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
444 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match()
475 X509_NAME *issuer) in def_crl_lookup()
528 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.c106 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name()
113 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509.h154 DEFINE_STACK_OF(X509_NAME)
185 X509_NAME *subject;
202 X509_NAME *issuer;
204 X509_NAME *subject;
382 X509_NAME *issuer;
524 OPENSSL_EXPORT X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
553 OPENSSL_EXPORT X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl);
582 X509_NAME *issuer),
633 OPENSSL_EXPORT int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
730 OPENSSL_EXPORT X509_NAME *X509_NAME_dup(X509_NAME *xn);
[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);
437 X509_NAME *name);
438 …RT X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
449 OPENSSL_EXPORT STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
450 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
537 OPENSSL_EXPORT int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name,
553 OPENSSL_EXPORT int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
[all …]
/external/boringssl/src/include/openssl/
Dx509.h154 DEFINE_STACK_OF(X509_NAME)
185 X509_NAME *subject;
202 X509_NAME *issuer;
204 X509_NAME *subject;
381 X509_NAME *issuer;
560 OPENSSL_EXPORT X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
603 OPENSSL_EXPORT X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl);
647 X509_NAME *issuer),
807 OPENSSL_EXPORT int X509_NAME_digest(const X509_NAME *name, const EVP_MD *md,
903 OPENSSL_EXPORT X509_NAME *X509_NAME_dup(X509_NAME *xn);
[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);
437 X509_NAME *name);
438 …RT X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
449 OPENSSL_EXPORT STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
450 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
537 OPENSSL_EXPORT int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name,
553 OPENSSL_EXPORT int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
[all …]
/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()
1038 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *list) { in STACK_OF() argument
1043 const STACK_OF(X509_NAME) *name_list, in set_client_CA_list()
1050 for (X509_NAME *name : name_list) { in set_client_CA_list()
1068 void SSL_set_client_CA_list(SSL *ssl, STACK_OF(X509_NAME) *name_list) { in SSL_set_client_CA_list()
1078 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) { in SSL_CTX_set_client_CA_list()
1085 static STACK_OF(X509_NAME) * in STACK_OF() argument
1087 STACK_OF(X509_NAME) **cached) { in STACK_OF()
1096 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF()
1104 UniquePtr<X509_NAME> name( in STACK_OF()
[all …]
/external/rust/crates/quiche/deps/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()
1038 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *list) { in STACK_OF() argument
1043 const STACK_OF(X509_NAME) *name_list, in set_client_CA_list()
1050 for (X509_NAME *name : name_list) { in set_client_CA_list()
1068 void SSL_set_client_CA_list(SSL *ssl, STACK_OF(X509_NAME) *name_list) { in SSL_set_client_CA_list()
1078 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) { in SSL_CTX_set_client_CA_list()
1085 static STACK_OF(X509_NAME) * in STACK_OF() argument
1087 STACK_OF(X509_NAME) **cached) { in STACK_OF()
1096 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF()
1104 UniquePtr<X509_NAME> name( in STACK_OF()
[all …]
/external/rust/crates/quiche/deps/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()
/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()
/external/openscreen/util/crypto/
Dcertificate_utils.cc35 bool AddCertificateField(X509_NAME* certificate_name, in AddCertificateField()
92 X509_NAME* certificate_name = X509_get_subject_name(certificate.get()); in CreateCertificateInternal()
123 X509_NAME* issuer_name = X509_get_subject_name(issuer); in CreateCertificateInternal()
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/
Dssl.h576 void SSL_set_client_CA_list(SSL *ssl, STACK_OF(X509_NAME) *name_list);
586 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
595 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl);
604 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
/external/libchrome/crypto/
Dwincrypt_shim.h19 #undef X509_NAME

12345