Home
last modified time | relevance | path

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

1234

/freebsd-10-stable/crypto/openssl/crypto/asn1/
Dx_name.c86 static int x509_name_encode(X509_NAME *a);
87 static int x509_name_canon(X509_NAME *a);
134 IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) in IMPLEMENT_EXTERN_ASN1() argument
136 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
138 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1()
142 X509_NAME *ret = NULL; in IMPLEMENT_EXTERN_ASN1()
143 ret = OPENSSL_malloc(sizeof(X509_NAME)); in IMPLEMENT_EXTERN_ASN1()
168 X509_NAME *a; in x509_name_ex_free()
171 a = (X509_NAME *)*pval; in x509_name_ex_free()
194 X509_NAME *x; in x509_name_ex_d2i()
[all …]
Dx_crl.c79 X509_NAME *issuer);
118 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME),
401 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match()
430 X509_NAME *issuer) in def_crl_lookup()
476 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),
/freebsd-10-stable/crypto/openssl/ssl/
Dssl_cert.c522 static void set_client_CA_list(STACK_OF(X509_NAME) **ca_list, in set_client_CA_list()
523 STACK_OF(X509_NAME) *name_list) in set_client_CA_list()
531 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk) in STACK_OF() argument
534 STACK_OF(X509_NAME) *ret; in STACK_OF()
535 X509_NAME *name; in STACK_OF()
548 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list) in SSL_set_client_CA_list()
553 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) in SSL_CTX_set_client_CA_list()
558 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) in STACK_OF() argument
563 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) in STACK_OF() argument
578 static int add_client_CA(STACK_OF(X509_NAME) **sk, X509 *x) in add_client_CA()
[all …]
/freebsd-10-stable/crypto/openssl/crypto/x509/
Dx509.h117 # undef X509_NAME
192 DECLARE_STACK_OF(X509_NAME)
229 X509_NAME *subject;
246 X509_NAME *issuer;
248 X509_NAME *subject;
443 X509_NAME *issuer;
613 X509_NAME *issuer),
662 int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
757 X509_NAME *X509_NAME_dup(X509_NAME *xn);
813 DECLARE_ASN1_FUNCTIONS(X509_NAME)
[all …]
Dx509_cmp.c132 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()
203 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp()
210 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp()
216 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp()
230 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()
276 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial()
298 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name) in X509_find_by_subject()
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()
77 int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, char *buf, in X509_NAME_get_text_by_OBJ()
95 int X509_NAME_entry_count(X509_NAME *name) in X509_NAME_entry_count()
102 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID()
113 int X509_NAME_get_index_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int lastpos) in X509_NAME_get_index_by_OBJ()
133 X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc) in X509_NAME_get_entry()
142 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry()
181 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
195 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID()
209 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.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,
207 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
208 STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
265 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
266 STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
448 X509_NAME *name);
450 int type, X509_NAME *name);
458 STACK_OF(X509) *X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
459 STACK_OF(X509_CRL) *X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
[all …]
Dx509_lu.c125 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_subject()
135 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, in X509_LOOKUP_by_issuer_serial()
284 int X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name, in X509_STORE_get_by_subject()
415 X509_NAME *name, int *pnmatch) in x509_object_idx_cnt()
458 X509_NAME *name) in X509_OBJECT_idx_by_subject()
464 int type, X509_NAME *name) in X509_OBJECT_retrieve_by_subject()
473 STACK_OF(X509) *X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
518 STACK_OF(X509_CRL) *X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF()
600 X509_NAME *xn; in X509_STORE_CTX_get1_issuer()
Dx509_set.c94 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.c73 int X509_REQ_set_subject_name(X509_REQ *x, X509_NAME *name) in X509_REQ_set_subject_name()
/freebsd-10-stable/crypto/openssl/doc/crypto/
Dd2i_X509_NAME.pod5 d2i_X509_NAME, i2d_X509_NAME - X509_NAME encoding functions
11 X509_NAME *d2i_X509_NAME(X509_NAME **a, unsigned char **pp, long length);
12 int i2d_X509_NAME(X509_NAME *a, unsigned char **pp);
16 These functions decode and encode an B<X509_NAME> structure which is the
DX509_NAME_get_index_by_NID.pod7 X509_NAME lookup and enumeration functions
13 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
14 int X509_NAME_get_index_by_OBJ(X509_NAME *name,ASN1_OBJECT *obj, int lastpos);
16 int X509_NAME_entry_count(X509_NAME *name);
17 X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc);
19 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf,int len);
20 int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, char *buf,int len);
24 These functions allow an B<X509_NAME> structure to be examined. The
25 B<X509_NAME> structure is the same as the B<Name> type defined in
108 X509_NAME_get_entry() returns an B<X509_NAME> pointer to the
DX509_NAME_add_entry_by_txt.pod6 X509_NAME_add_entry, X509_NAME_delete_entry - X509_NAME modification functions
12 …int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *…
14 …int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, …
16 …int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, …
18 int X509_NAME_add_entry(X509_NAME *name,X509_NAME_ENTRY *ne, int loc, int set);
20 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc);
76 Create an B<X509_NAME> structure:
80 X509_NAME *nm;
DX509_NAME_print_ex.pod6 X509_NAME_oneline - X509_NAME printing routines.
12 int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags);
13 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags);
14 char * X509_NAME_oneline(X509_NAME *a,char *buf,int size);
15 int X509_NAME_print(BIO *bp, X509_NAME *name, int obase);
DX509_NAME_ENTRY_get_object.pod53 are almost always part of B<X509_NAME> structures and the
54 corresponding B<X509_NAME> functions are typically used to
58 named ones of the corresponding B<X509_NAME> functions such as
/freebsd-10-stable/crypto/openssl/doc/ssl/
DSSL_load_client_CA_file.pod11 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
16 a STACK_OF(X509_NAME) with the subject names found.
31 STACK_OF(X509_NAME) *cert_names;
51 =item Pointer to STACK_OF(X509_NAME)
DSSL_CTX_set_client_CA_list.pod13 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *list);
14 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *list);
71 A failure while manipulating the STACK_OF(X509_NAME) object occurred or
72 the X509_NAME could not be extracted from B<cacert>. Check the error stack
DSSL_get_client_CA_list.pod11 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
12 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
/freebsd-10-stable/crypto/openssl/crypto/x509v3/
Dv3_ncons.c78 static int nc_dn(X509_NAME *sub, X509_NAME *nm);
229 X509_NAME *nm; in NAME_CONSTRAINTS_check()
356 static int nc_dn(X509_NAME *nm, X509_NAME *base) in nc_dn()
/freebsd-10-stable/crypto/openssl/crypto/ocsp/
Docsp_vfy.c76 X509_NAME *nm, STACK_OF(X509) *certs,
314 X509_NAME *iname; in ocsp_match_issuerid()
374 X509_NAME *nm; in OCSP_request_verify()
436 X509_NAME *nm, STACK_OF(X509) *certs, in ocsp_req_find_signer()
Docsp.h200 X509_NAME *byName;
343 X509_NAME *issuer;
409 X509_NAME *issuerName,
420 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm);
481 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME *issuer, char **urls);
Docsp_asn.c120 ASN1_EXP(OCSP_RESPID, value.byName, X509_NAME, 1),
179 ASN1_SIMPLE(OCSP_SERVICELOC, issuer, X509_NAME),
Docsp_lib.c81 X509_NAME *iname; in OCSP_cert_to_id()
100 X509_NAME *issuerName, in OCSP_cert_id_new()
/freebsd-10-stable/crypto/openssl/crypto/
Dossl_typ.h107 # undef X509_NAME
157 typedef struct X509_name_st X509_NAME; typedef

1234