Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/x509/
Dx_name.c85 static int x509_name_encode(X509_NAME *a);
86 static int x509_name_canon(X509_NAME *a);
133 IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) in IMPLEMENT_EXTERN_ASN1() argument
135 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
136 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
140 X509_NAME *ret = NULL; in IMPLEMENT_EXTERN_ASN1()
141 ret = OPENSSL_malloc(sizeof(X509_NAME)); in IMPLEMENT_EXTERN_ASN1()
165 X509_NAME *a; in x509_name_ex_free()
168 a = (X509_NAME *)*pval; in x509_name_ex_free()
195 union { X509_NAME *x; ASN1_VALUE *a; } nm = {NULL}; in x509_name_ex_d2i()
[all …]
Dx509name.c67 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) in X509_NAME_get_text_by_NID()
76 int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, char *buf, in X509_NAME_get_text_by_OBJ()
92 int X509_NAME_entry_count(X509_NAME *name) in X509_NAME_entry_count()
98 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID()
108 int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ()
129 X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc) in X509_NAME_get_entry()
137 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry()
172 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
184 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID()
196 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.c130 X509_NAME *X509_get_issuer_name(X509 *a) in X509_get_issuer_name()
145 X509_NAME *X509_get_subject_name(X509 *a) in X509_get_subject_name()
197 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()
212 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp()
226 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()
Dx509_lu.c127 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_subject()
136 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_issuer_serial()
294 int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name, in X509_STORE_get_by_subject()
432 X509_NAME *name, int *pnmatch) in x509_object_idx_cnt()
480 X509_NAME *name) in X509_OBJECT_idx_by_subject()
486 X509_NAME *name) in X509_OBJECT_retrieve_by_subject()
494 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
542 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
633 X509_NAME *xn; in X509_STORE_CTX_get1_issuer()
724 STACK_OF(X509_CRL)* (*cb)(X509_STORE_CTX *ctx, X509_NAME *nm)) in X509_STORE_set_lookup_crls_cb()
Dx_crl.c86 ASN1_INTEGER *ser, X509_NAME *issuer);
102 X509_REVOKED **ret, ASN1_INTEGER *serial, X509_NAME *issuer);
139 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
440 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match()
472 X509_REVOKED **ret, ASN1_INTEGER *serial, X509_NAME *issuer) in def_crl_lookup()
527 ASN1_INTEGER *ser, X509_NAME *issuer), in X509_CRL_METHOD_new()
Dx509_set.c99 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name()
105 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name()
Dx_x509.c77 ASN1_SIMPLE(X509_CINF, issuer, X509_NAME),
79 ASN1_SIMPLE(X509_CINF, subject, X509_NAME),
Dx509rset.c69 int X509_REQ_set_subject_name(X509_REQ *x, X509_NAME *name) in X509_REQ_set_subject_name()
Dx_req.c95 ASN1_SIMPLE(X509_REQ_INFO, subject, X509_NAME),
Dx509_r2x.c71 X509_NAME *xn; in X509_REQ_to_X509()
Da_strex.c380 static int do_name_ex(char_io *io_ch, void *arg, X509_NAME *n, in do_name_ex()
507 int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags) in X509_NAME_print_ex()
515 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) in X509_NAME_print_ex_fp()
Dx509cset.c72 int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name) in X509_CRL_set_issuer_name()
Dby_dir.c99 static int get_cert_by_subject(X509_LOOKUP *xl,int type,X509_NAME *name,
271 static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, in get_cert_by_subject()
/external/boringssl/src/ssl/
Dssl_cert.c488 static void set_client_CA_list(STACK_OF(X509_NAME) **ca_list, in set_client_CA_list()
489 STACK_OF(X509_NAME) *name_list) { in set_client_CA_list()
494 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk) { in STACK_OF() argument
496 STACK_OF(X509_NAME) *ret; in STACK_OF()
497 X509_NAME *name; in STACK_OF()
511 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list) { in SSL_set_client_CA_list()
515 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) { in SSL_CTX_set_client_CA_list()
519 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) { in STACK_OF() argument
523 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) { in STACK_OF() argument
539 static int add_client_CA(STACK_OF(X509_NAME) **sk, X509 *x) { in add_client_CA()
[all …]
/external/boringssl/src/include/openssl/
Dx509.h159 } X509_NAME; typedef
161 DECLARE_STACK_OF(X509_NAME)
197 X509_NAME *subject;
216 X509_NAME *issuer;
218 X509_NAME *subject;
410 X509_NAME *issuer;
589 ASN1_INTEGER *ser, X509_NAME *issuer),
638 OPENSSL_EXPORT int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type,
723 OPENSSL_EXPORT X509_NAME *X509_NAME_dup(X509_NAME *xn);
776 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[all …]
Dx509_vfy.h146 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
148 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
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);
252 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
253 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
429 X509_NAME *name);
430 …RT X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
437 OPENSSL_EXPORT STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
438 OPENSSL_EXPORT STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
[all …]
Dstack_macros.h2834 ((STACK_OF(X509_NAME) *)sk_new( \
2836 int (*)(const X509_NAME **a, const X509_NAME **b), comp)))
2838 #define sk_X509_NAME_new_null() ((STACK_OF(X509_NAME) *)sk_new_null())
2841 sk_num(CHECKED_CAST(_STACK *, STACK_OF(X509_NAME) *, sk))
2844 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(X509_NAME) *, sk));
2847 ((X509_NAME *)sk_value( \
2848 CHECKED_CAST(_STACK *, const STACK_OF(X509_NAME) *, sk), (i)))
2851 ((X509_NAME *)sk_set(CHECKED_CAST(_STACK *, STACK_OF(X509_NAME) *, sk), (i), \
2852 CHECKED_CAST(void *, X509_NAME *, p)))
2855 sk_free(CHECKED_CAST(_STACK *, STACK_OF(X509_NAME) *, sk))
[all …]
Dx509v3.h189 X509_NAME *directoryName;
197 X509_NAME *dirn; /* dirn */
228 X509_NAME *dpname;
572 OPENSSL_EXPORT int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname);
718 OPENSSL_EXPORT int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE)*dn_sk,
Dssl.h952 STACK_OF(X509_NAME) *client_CA;
1414 STACK_OF(X509_NAME) *client_CA;
1912 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
1913 OPENSSL_EXPORT int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *
1916 OPENSSL_EXPORT int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *
2079 STACK_OF(X509_NAME) *name_list);
2081 STACK_OF(X509_NAME) *name_list);
2082 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
2083 OPENSSL_EXPORT STACK_OF(X509_NAME) *
2090 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk);
/external/boringssl/src/crypto/x509v3/
Dv3_ncons.c80 static int nc_dn(X509_NAME *sub, X509_NAME *nm);
246 X509_NAME *nm; in NAME_CONSTRAINTS_check()
381 static int nc_dn(X509_NAME *nm, X509_NAME *base) in nc_dn()
Dv3nametest.c125 X509_NAME *n = NULL; in set_cn()
294 X509_NAME *issuer = NULL; in make_cert()
Dv3_crld.c132 X509_NAME *nm; in set_dist_point_name()
528 X509_NAME ntmp; in print_distpoint()
587 int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname) in DIST_POINT_set_dpname()
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.h23 #undef X509_NAME
Dcertificateutil.cc96 X509_NAME* name = X509_get_subject_name(x509); in GenerateSelfSignedCert()
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dcertificateutiltest.cc83 X509_NAME* name = X509_get_subject_name(x509); in TEST()

12