| /freebsd-12-stable/crypto/openssl/ssl/ |
| D | ssl_cert.c | 448 static void set0_CA_list(STACK_OF(X509_NAME) **ca_list, in set0_CA_list() 449 STACK_OF(X509_NAME) *name_list) in set0_CA_list() 455 STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk) in STACK_OF() argument 459 STACK_OF(X509_NAME) *ret; in STACK_OF() 460 X509_NAME *name; in STACK_OF() 479 void SSL_set0_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list) in SSL_set0_CA_list() 484 void SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) in SSL_CTX_set0_CA_list() 489 const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx) in STACK_OF() argument 494 const STACK_OF(X509_NAME) *SSL_get0_CA_list(const SSL *s) in STACK_OF() argument 499 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) in SSL_CTX_set_client_CA_list() [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/x509/ |
| D | x_name.c | 36 static int x509_name_encode(X509_NAME *a); 37 static int x509_name_canon(X509_NAME *a); 84 IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) in IMPLEMENT_EXTERN_ASN1() argument 86 IMPLEMENT_ASN1_FUNCTIONS(X509_NAME) in IMPLEMENT_EXTERN_ASN1() 88 IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME) in IMPLEMENT_EXTERN_ASN1() 92 X509_NAME *ret = OPENSSL_zalloc(sizeof(*ret)); in IMPLEMENT_EXTERN_ASN1() 115 X509_NAME *a; in x509_name_ex_free() 119 a = (X509_NAME *)*pval; in x509_name_ex_free() 151 X509_NAME *x; in x509_name_ex_d2i() 214 X509_NAME *a = (X509_NAME *)*val; in x509_name_ex_i2d() [all …]
|
| D | x509name.c | 19 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) in X509_NAME_get_text_by_NID() 29 int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ() 49 int X509_NAME_entry_count(const X509_NAME *name) in X509_NAME_entry_count() 56 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() 67 int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int lastpos) in X509_NAME_get_index_by_OBJ() 87 X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc) in X509_NAME_get_entry() 96 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) in X509_NAME_delete_entry() 136 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ() 151 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, in X509_NAME_add_entry_by_NID() 165 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, in X509_NAME_add_entry_by_txt() [all …]
|
| D | x509_cmp.c | 84 X509_NAME *X509_get_issuer_name(const X509 *a) in X509_get_issuer_name() 101 X509_NAME *X509_get_subject_name(const X509 *a) in X509_get_subject_name() 165 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) in X509_NAME_cmp() 172 ret = i2d_X509_NAME((X509_NAME *)a, NULL); in X509_NAME_cmp() 178 ret = i2d_X509_NAME((X509_NAME *)b, NULL); in X509_NAME_cmp() 192 unsigned long X509_NAME_hash(X509_NAME *x) in X509_NAME_hash() 215 unsigned long X509_NAME_hash_old(X509_NAME *x) in X509_NAME_hash_old() 240 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, in X509_find_by_issuer_and_serial() 260 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name) in X509_find_by_subject()
|
| D | x509_local.h | 67 ASN1_INTEGER *ser, X509_NAME *issuer); 80 X509_NAME *name, X509_OBJECT *ret); 82 X509_NAME *name, ASN1_INTEGER *serial, 131 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm); 132 STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
|
| D | x509_lu.c | 86 X509_NAME *name, X509_OBJECT *ret) in X509_LOOKUP_by_subject() 96 X509_NAME *name, ASN1_INTEGER *serial, in X509_LOOKUP_by_issuer_serial() 276 X509_NAME *name) in X509_STORE_CTX_get_obj_by_subject() 290 X509_NAME *name, X509_OBJECT *ret) in X509_STORE_CTX_get_by_subject() 475 X509_NAME *name, int *pnmatch) in x509_object_idx_cnt() 514 X509_NAME *name) in X509_OBJECT_idx_by_subject() 521 X509_NAME *name) in X509_OBJECT_retrieve_by_subject() 535 STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF() 592 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) in STACK_OF() 679 X509_NAME *xn; in X509_STORE_CTX_get1_issuer()
|
| D | x_crl.c | 31 X509_NAME *issuer); 70 ASN1_SIMPLE(X509_CRL_INFO, issuer, X509_NAME), 383 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm, in crl_revoked_issuer_match() 412 X509_NAME *issuer) in def_crl_lookup() 462 X509_NAME *issuer), in X509_CRL_METHOD_new()
|
| /freebsd-12-stable/crypto/openssl/doc/man3/ |
| D | X509_get_subject_name.pod | 14 X509_NAME *X509_get_subject_name(const X509 *x); 15 int X509_set_subject_name(X509 *x, X509_NAME *name); 17 X509_NAME *X509_get_issuer_name(const X509 *x); 18 int X509_set_issuer_name(X509 *x, X509_NAME *name); 20 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req); 21 int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name); 23 X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl); 24 int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name); 46 and X509_CRL_get_issuer() return an B<X509_NAME> pointer.
|
| D | X509_NAME_get_index_by_NID.pod | 7 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, const ASN1_OBJECT *obj, int lastpos); 16 int X509_NAME_entry_count(const X509_NAME *name); 17 X509_NAME_ENTRY *X509_NAME_get_entry(const 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, const 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 81 X509_NAME_get_entry() returns an B<X509_NAME> pointer to the
|
| D | SSL_load_client_CA_file.pod | 14 STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file); 16 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, 18 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, 24 a STACK_OF(X509_NAME) with the subject names found. 51 =item Pointer to STACK_OF(X509_NAME) 62 STACK_OF(X509_NAME) *cert_names;
|
| D | X509_NAME_get0_der.pod | 5 X509_NAME_get0_der - get X509_NAME DER encoding 11 int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, 18 encoding of an B<X509_NAME> structure in B<*pder> and consisting of 20 the encoding of an B<X509_NAME> structure without copying it.
|
| D | X509_NAME_add_entry_by_txt.pod | 6 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, 15 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, 18 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, 21 int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne, int loc, int set); 23 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); 88 Create an B<X509_NAME> structure: 92 X509_NAME *nm;
|
| D | SSL_CTX_set0_CA_list.pod | 24 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *list); 25 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *list); 26 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s); 27 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx); 31 void SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list); 32 void SSL_set0_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list); 33 const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx); 34 const STACK_OF(X509_NAME) *SSL_get0_CA_list(const SSL *s); 38 const STACK_OF(X509_NAME) *SSL_get0_peer_CA_list(const SSL *s);
|
| D | OSSL_STORE_SEARCH.pod | 25 OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_name(X509_NAME *name); 26 OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_issuer_serial(X509_NAME *name, 37 X509_NAME *OSSL_STORE_SEARCH_get0_name(OSSL_STORE_SEARCH *criterion); 100 The subject name itself is a B<X509_NAME> pointer. 108 The issuer name itself is a B<X509_NAME> pointer, and the serial number is 148 OSSL_STORE_SEARCH_get0_name() returns a B<X509_NAME> pointer on success,
|
| D | X509_cmp.pod | 15 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b); 31 The X509_NAME_cmp() function compares two B<X509_NAME> objects indicated by 34 has a more detailed description of the DER encoding of the B<X509_NAME> structure.
|
| D | X509_NAME_print_ex.pod | 6 X509_NAME_oneline - X509_NAME printing routines 12 int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent, unsigned long flags); 13 int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, int indent, unsigned long flags); 14 char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size); 15 int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase);
|
| D | X509_NAME_ENTRY_get_object.pod | 57 are almost always part of B<X509_NAME> structures and the 58 corresponding B<X509_NAME> functions are typically used to 62 named ones of the corresponding B<X509_NAME> functions such as
|
| /freebsd-12-stable/crypto/openssl/include/openssl/ |
| D | x509.h | 77 DEFINE_STACK_OF(X509_NAME) 340 X509_NAME *issuer), 389 int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type, 483 X509_NAME *X509_NAME_dup(X509_NAME *xn); 546 DECLARE_ASN1_FUNCTIONS(X509_NAME) 548 int X509_NAME_set(X509_NAME **xn, X509_NAME *name); 610 char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size); 640 int X509_set_issuer_name(X509 *x, X509_NAME *name); 641 X509_NAME *X509_get_issuer_name(const X509 *a); 642 int X509_set_subject_name(X509 *x, X509_NAME *name); [all …]
|
| D | x509_vfy.h | 77 X509_NAME *nm); 79 X509_NAME *nm); 257 X509_NAME *name); 260 X509_NAME *name); 278 STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *st, X509_NAME *nm); 279 STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME *nm); 385 X509_NAME *name, 389 X509_NAME *name, 455 X509_NAME *name, X509_OBJECT *ret); 458 X509_NAME *name); [all …]
|
| D | store.h | 174 OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_name(X509_NAME *name); 175 OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_issuer_serial(X509_NAME *name, 188 X509_NAME *OSSL_STORE_SEARCH_get0_name(OSSL_STORE_SEARCH *criterion);
|
| D | ocsp.h | 173 const X509_NAME *issuerName, 184 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm); 208 const X509_NAME **pname); 211 X509_NAME **pname); 266 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME *issuer, const char **urls);
|
| /freebsd-12-stable/crypto/openssl/include/crypto/ |
| D | x509.h | 60 X509_NAME *subject; /* certificate request DN */ 81 X509_NAME *issuer; /* CRL issuer name */ 150 X509_NAME *issuer; 152 X509_NAME *subject; 226 STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm); 227 STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
|
| /freebsd-12-stable/crypto/openssl/crypto/x509v3/ |
| D | v3_ncons.c | 33 static int nc_dn(X509_NAME *sub, X509_NAME *nm); 255 X509_NAME *nm; in NAME_CONSTRAINTS_check() 414 X509_NAME *nm = X509_get_subject_name(x); in NAME_CONSTRAINTS_check_CN() 536 static int nc_dn(X509_NAME *nm, X509_NAME *base) in nc_dn()
|
| /freebsd-12-stable/crypto/openssl/crypto/ocsp/ |
| D | ocsp_local.h | 101 X509_NAME *byName; 214 X509_NAME *issuer;
|
| D | ocsp_vfy.c | 25 X509_NAME *nm, STACK_OF(X509) *certs, 282 X509_NAME *iname; in ocsp_match_issuerid() 343 X509_NAME *nm; in OCSP_request_verify() 417 X509_NAME *nm, STACK_OF(X509) *certs, in ocsp_req_find_signer()
|