Home
last modified time | relevance | path

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

1234

/external/openssl/crypto/asn1/
Dx_name.c79 static int x509_name_encode(X509_NAME *a);
80 static int x509_name_canon(X509_NAME *a);
127 IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) in IMPLEMENT_EXTERN_ASN1() argument
129 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
130 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
134 X509_NAME *ret = NULL; in IMPLEMENT_EXTERN_ASN1()
135 ret = OPENSSL_malloc(sizeof(X509_NAME)); in IMPLEMENT_EXTERN_ASN1()
159 X509_NAME *a; in x509_name_ex_free()
162 a = (X509_NAME *)*pval; in x509_name_ex_free()
179 union { X509_NAME *x; ASN1_VALUE *a; } nm = {NULL}; in x509_name_ex_d2i()
[all …]
Dx_crl.c78 X509_REVOKED **ret, ASN1_INTEGER *serial, X509_NAME *issuer);
115 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
415 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match()
445 X509_REVOKED **ret, ASN1_INTEGER *serial, X509_NAME *issuer) in def_crl_lookup()
492 ASN1_INTEGER *ser, X509_NAME *issuer), in X509_CRL_METHOD_new()
Dx_x509.c70 ASN1_SIMPLE(X509_CINF, issuer, X509_NAME),
72 ASN1_SIMPLE(X509_CINF, subject, X509_NAME),
Dx_req.c96 ASN1_SIMPLE(X509_REQ_INFO, subject, X509_NAME),
/external/openssl/ssl/
Dssl_cert.c568 static void set_client_CA_list(STACK_OF(X509_NAME) **ca_list,STACK_OF(X509_NAME) *name_list) in set_client_CA_list()
576 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk) in STACK_OF() argument
579 STACK_OF(X509_NAME) *ret; in STACK_OF()
580 X509_NAME *name; in STACK_OF()
595 void SSL_set_client_CA_list(SSL *s,STACK_OF(X509_NAME) *name_list) in SSL_set_client_CA_list()
600 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx,STACK_OF(X509_NAME) *name_list) in SSL_CTX_set_client_CA_list()
605 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) in STACK_OF() argument
610 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) in STACK_OF() argument
629 static int add_client_CA(STACK_OF(X509_NAME) **sk,X509 *x) in add_client_CA()
631 X509_NAME *name; in add_client_CA()
[all …]
/external/openssl/crypto/x509/
Dx509_cmp.c131 X509_NAME *X509_get_issuer_name(X509 *a) in X509_get_issuer_name()
148 X509_NAME *X509_get_subject_name(X509 *a) in X509_get_subject_name()
191 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp()
199 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp()
206 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp()
220 unsigned long X509_NAME_hash(X509_NAME *x) in X509_NAME_hash()
242 unsigned long X509_NAME_hash_old(X509_NAME *x) in X509_NAME_hash_old()
265 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial()
287 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name) in X509_find_by_subject()
Dx509.h117 #undef X509_NAME
199 DECLARE_STACK_OF(X509_NAME)
235 X509_NAME *subject;
254 X509_NAME *issuer;
256 X509_NAME *subject;
453 X509_NAME *issuer;
632 ASN1_INTEGER *ser, X509_NAME *issuer),
679 int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type,
772 X509_NAME *X509_NAME_dup(X509_NAME *xn);
833 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[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, 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, 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()
138 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry()
174 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
186 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID()
198 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, in X509_NAME_add_entry_by_txt()
[all …]
Dx509_vfy.h150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
152 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);
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);
407 X509_NAME *name);
408 X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
415 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
416 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
[all …]
Dx509_lu.c122 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_subject()
131 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_issuer_serial()
289 int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name, in X509_STORE_get_by_subject()
427 X509_NAME *name, int *pnmatch) in x509_object_idx_cnt()
474 X509_NAME *name) in X509_OBJECT_idx_by_subject()
480 X509_NAME *name) in X509_OBJECT_retrieve_by_subject()
488 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
537 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
626 X509_NAME *xn; in X509_STORE_CTX_get1_issuer()
Dx509_set.c95 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name()
101 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name()
Dx509rset.c72 int X509_REQ_set_subject_name(X509_REQ *x, X509_NAME *name) in X509_REQ_set_subject_name()
Dx509_r2x.c72 X509_NAME *xn; in X509_REQ_to_X509()
/external/openssl/include/openssl/
Dx509.h117 #undef X509_NAME
199 DECLARE_STACK_OF(X509_NAME)
235 X509_NAME *subject;
254 X509_NAME *issuer;
256 X509_NAME *subject;
453 X509_NAME *issuer;
632 ASN1_INTEGER *ser, X509_NAME *issuer),
679 int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type,
772 X509_NAME *X509_NAME_dup(X509_NAME *xn);
833 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[all …]
Dx509_vfy.h150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
152 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);
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);
407 X509_NAME *name);
408 X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
415 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
416 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
[all …]
Docsp.h206 X509_NAME* byName;
350 X509_NAME* issuer;
416 X509_NAME *issuerName,
427 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
487 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls);
Dossl_typ.h103 #undef X509_NAME
153 typedef struct X509_name_st X509_NAME; typedef
/external/chromium/net/base/
Dx509_openssl_util.h25 bool ParsePrincipalKeyAndValueByIndex(X509_NAME* name,
30 bool ParsePrincipalValueByIndex(X509_NAME* name, int index, std::string* value);
32 bool ParsePrincipalValueByNID(X509_NAME* name, int nid, std::string* value);
Dx509_openssl_util.cc17 bool ParsePrincipalKeyAndValueByIndex(X509_NAME* name, in ParsePrincipalKeyAndValueByIndex()
44 bool ParsePrincipalValueByIndex(X509_NAME* name, in ParsePrincipalValueByIndex()
50 bool ParsePrincipalValueByNID(X509_NAME* name, int nid, std::string* value) { in ParsePrincipalValueByNID()
/external/openssl/crypto/x509v3/
Dv3_ncons.c77 static int nc_dn(X509_NAME *sub, X509_NAME *nm);
242 X509_NAME *nm; in NAME_CONSTRAINTS_check()
376 static int nc_dn(X509_NAME *nm, X509_NAME *base) in nc_dn()
/external/openssl/crypto/ocsp/
Docsp_vfy.c70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *c…
301 X509_NAME *iname; in ocsp_match_issuerid()
362 X509_NAME *nm; in OCSP_request_verify()
428 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *c… in ocsp_req_find_signer()
Docsp.h206 X509_NAME* byName;
350 X509_NAME* issuer;
416 X509_NAME *issuerName,
427 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
487 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls);
Docsp_asn.c119 ASN1_EXP(OCSP_RESPID, value.byName, X509_NAME, 1),
178 ASN1_SIMPLE(OCSP_SERVICELOC, issuer, X509_NAME),
Docsp_lib.c78 X509_NAME *iname; in OCSP_cert_to_id()
100 X509_NAME *issuerName, in OCSP_cert_id_new()
/external/openssl/crypto/
Dossl_typ.h103 #undef X509_NAME
153 typedef struct X509_name_st X509_NAME; typedef

1234