Home
last modified time | relevance | path

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

123

/external/openssl/crypto/asn1/
Dx_name.c71 static int x509_name_encode(X509_NAME *a);
108 IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) in IMPLEMENT_EXTERN_ASN1() argument
110 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
111 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
115 X509_NAME *ret = NULL; in IMPLEMENT_EXTERN_ASN1()
116 ret = OPENSSL_malloc(sizeof(X509_NAME)); in IMPLEMENT_EXTERN_ASN1()
138 X509_NAME *a; in x509_name_ex_free()
141 a = (X509_NAME *)*pval; in x509_name_ex_free()
164 union { X509_NAME *x; ASN1_VALUE *a; } nm = {NULL}; in x509_name_ex_d2i()
207 X509_NAME *a = (X509_NAME *)*val; in x509_name_ex_i2d()
[all …]
Dx_x509.c70 ASN1_SIMPLE(X509_CINF, issuer, X509_NAME),
72 ASN1_SIMPLE(X509_CINF, subject, X509_NAME),
Dx_req.c95 ASN1_SIMPLE(X509_REQ_INFO, subject, X509_NAME),
Da_strex.c385 static int do_name_ex(char_io *io_ch, void *arg, X509_NAME *n, in do_name_ex()
512 int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags) in X509_NAME_print_ex()
520 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) in X509_NAME_print_ex_fp()
/external/openssl/ssl/
Dssl_cert.c546 static void set_client_CA_list(STACK_OF(X509_NAME) **ca_list,STACK_OF(X509_NAME) *name_list) in set_client_CA_list()
554 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk) in STACK_OF() argument
557 STACK_OF(X509_NAME) *ret; in STACK_OF()
558 X509_NAME *name; in STACK_OF()
573 void SSL_set_client_CA_list(SSL *s,STACK_OF(X509_NAME) *name_list) in SSL_set_client_CA_list()
578 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx,STACK_OF(X509_NAME) *name_list) in SSL_CTX_set_client_CA_list()
583 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) in STACK_OF() argument
588 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) in STACK_OF() argument
607 static int add_client_CA(STACK_OF(X509_NAME) **sk,X509 *x) in add_client_CA()
609 X509_NAME *name; in add_client_CA()
[all …]
Dssl.h730 STACK_OF(X509_NAME) *client_CA;
995 STACK_OF(X509_NAME) *client_CA;
1364 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
1365 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
1369 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
1501 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list);
1502 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1503 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
1504 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1516 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk);
/external/openssl/crypto/x509/
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.h117 #undef X509_NAME
196 DECLARE_STACK_OF(X509_NAME)
232 X509_NAME *subject;
251 X509_NAME *issuer;
253 X509_NAME *subject;
441 X509_NAME *issuer;
705 #define X509_NAME_dup(xn) (X509_NAME *)ASN1_dup((int (*)())i2d_X509_NAME, \
780 int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type,
872 X509_NAME *X509_NAME_dup(X509_NAME *xn);
933 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[all …]
Dx509_cmp.c119 X509_NAME *X509_get_issuer_name(X509 *a) in X509_get_issuer_name()
129 X509_NAME *X509_get_subject_name(X509 *a) in X509_get_subject_name()
268 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp()
321 unsigned long X509_NAME_hash(X509_NAME *x) in X509_NAME_hash()
338 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial()
360 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name) in X509_find_by_subject()
Dx509_vfy.h148 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
150 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
379 X509_NAME *name);
380 X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
410 int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name,
426 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
428 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
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()
281 int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name, in X509_STORE_get_by_subject()
418 X509_NAME *name) in X509_OBJECT_idx_by_subject()
448 X509_NAME *name) in X509_OBJECT_retrieve_by_subject()
490 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
196 DECLARE_STACK_OF(X509_NAME)
232 X509_NAME *subject;
251 X509_NAME *issuer;
253 X509_NAME *subject;
441 X509_NAME *issuer;
705 #define X509_NAME_dup(xn) (X509_NAME *)ASN1_dup((int (*)())i2d_X509_NAME, \
780 int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type,
872 X509_NAME *X509_NAME_dup(X509_NAME *xn);
933 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[all …]
Dx509_vfy.h148 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
150 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
379 X509_NAME *name);
380 X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,int type,X509_NAME *name);
410 int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name,
426 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
428 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name,
Dossl_typ.h99 #undef X509_NAME
140 typedef struct X509_name_st X509_NAME; typedef
Docsp.h205 X509_NAME* byName;
349 X509_NAME* issuer;
412 X509_NAME *issuerName,
423 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
488 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls);
Dssl.h730 STACK_OF(X509_NAME) *client_CA;
995 STACK_OF(X509_NAME) *client_CA;
1364 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
1365 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
1369 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
1501 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list);
1502 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1503 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
1504 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1516 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk);
/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()
360 X509_NAME *nm; in OCSP_request_verify()
426 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *c… in ocsp_req_find_signer()
Docsp.h205 X509_NAME* byName;
349 X509_NAME* issuer;
412 X509_NAME *issuerName,
423 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
488 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.c77 X509_NAME *iname; in OCSP_cert_to_id()
99 X509_NAME *issuerName, in OCSP_cert_id_new()
/external/openssl/crypto/
Dossl_typ.h99 #undef X509_NAME
140 typedef struct X509_name_st X509_NAME; typedef
/external/openssl/apps/
Dapps.h266 void print_name(BIO *out, const char *title, X509_NAME *nm, unsigned long lflags);
334 X509_NAME *parse_name(char *str, long chtype, int multirdn);

123