/external/openssl/crypto/x509/ |
D | x509_cmp.c | 67 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) in X509_issuer_and_serial_cmp() 80 unsigned long X509_issuer_and_serial_hash(X509 *a) in X509_issuer_and_serial_hash() 108 int X509_issuer_name_cmp(const X509 *a, const X509 *b) in X509_issuer_name_cmp() 113 int X509_subject_name_cmp(const X509 *a, const X509 *b) in X509_subject_name_cmp() 130 X509_NAME *X509_get_issuer_name(X509 *a) in X509_get_issuer_name() 135 unsigned long X509_issuer_name_hash(X509 *x) in X509_issuer_name_hash() 141 unsigned long X509_issuer_name_hash_old(X509 *x) in X509_issuer_name_hash_old() 147 X509_NAME *X509_get_subject_name(X509 *a) in X509_get_subject_name() 152 ASN1_INTEGER *X509_get_serialNumber(X509 *a) in X509_get_serialNumber() 157 unsigned long X509_subject_name_hash(X509 *x) in X509_subject_name_hash() [all …]
|
D | x509.h | 311 DECLARE_STACK_OF(X509) 312 DECLARE_ASN1_SET_OF(X509) 319 int (*check_trust)(struct x509_trust_st *, X509 *, int); 328 X509 *forward; 329 X509 *reverse; 513 X509 *x509; 548 STACK_OF(X509) *certs; 647 int X509_verify(X509 *a, EVP_PKEY *r); 663 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 664 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); [all …]
|
D | x509_vfy.h | 129 X509 *x509; 197 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 198 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */ 200 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */ 202 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */ 203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 236 X509 *cert; /* The cert to check */ 237 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */ 246 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 247 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */ [all …]
|
D | x509_trs.c | 68 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags); 69 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags); 70 static int trust_compat(X509_TRUST *trust, X509 *x, int flags); 72 static int obj_trust(int id, X509 *x, int flags); 73 static int (*default_trust)(int id, X509 *x, int flags) = obj_trust; 103 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int) in X509_TRUST_set_default() argument 105 int (*oldtrust)(int , X509 *, int); in X509_TRUST_set_default() 112 int X509_check_trust(X509 *x, int id, int flags) in X509_check_trust() 159 int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), in X509_TRUST_add() argument 244 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags) in trust_1oidany() [all …]
|
D | x509_vfy.c | 112 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); 113 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x); 121 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, 123 X509_CRL *crl, X509 *x); 125 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x); 129 X509 **pissuer, int *pcrl_score); 130 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, 132 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x); 134 STACK_OF(X509) *cert_path, 135 STACK_OF(X509) *crl_path); [all …]
|
D | x509_set.c | 66 int X509_set_version(X509 *x, long version) in X509_set_version() 77 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial) in X509_set_serialNumber() 95 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() 107 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm) in X509_set_notBefore() 125 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm) in X509_set_notAfter() 143 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey) in X509_set_pubkey()
|
D | x509_ext.c | 115 int X509_get_ext_count(X509 *x) in X509_get_ext_count() 120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() 125 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() 130 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos) in X509_get_ext_by_critical() 135 X509_EXTENSION *X509_get_ext(X509 *x, int loc) in X509_get_ext() 140 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext() 145 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext() 150 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) in X509_get_ext_d2i() 155 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, in X509_add1_ext_i2d()
|
D | x_all.c | 73 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify() 91 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 98 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx) in X509_sign_ctx() 137 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() 139 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp() 142 int i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp() 144 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); in i2d_X509_fp() 148 X509 *d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio() 150 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509); in d2i_X509_bio() 153 int i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio() [all …]
|
/external/openssl/crypto/asn1/ |
D | x_x509.c | 87 X509 *ret = (X509 *)*pval; in x509_cb() 135 ASN1_SEQUENCE_ref(X509, x509_cb, CRYPTO_LOCK_X509) = { 136 ASN1_SIMPLE(X509, cert_info, X509_CINF), 137 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR), 138 ASN1_SIMPLE(X509, signature, ASN1_BIT_STRING) 139 } ASN1_SEQUENCE_END_ref(X509, X509) 141 IMPLEMENT_ASN1_FUNCTIONS(X509) 142 IMPLEMENT_ASN1_DUP_FUNCTION(X509) 151 int X509_set_ex_data(X509 *r, int idx, void *arg) in X509_set_ex_data() 156 void *X509_get_ex_data(X509 *r, int idx) in X509_get_ex_data() [all …]
|
D | x_x509a.c | 72 static X509_CERT_AUX *aux_get(X509 *x); 84 static X509_CERT_AUX *aux_get(X509 *x) 91 int X509_alias_set1(X509 *x, unsigned char *name, int len) in X509_alias_set1() 107 int X509_keyid_set1(X509 *x, unsigned char *id, int len) in X509_keyid_set1() 123 unsigned char *X509_alias_get0(X509 *x, int *len) in X509_alias_get0() 130 unsigned char *X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0() 137 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_trust_object() 148 int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_reject_object() 159 void X509_trust_clear(X509 *x) in X509_trust_clear() 167 void X509_reject_clear(X509 *x) in X509_reject_clear() [all …]
|
/external/openssl/include/openssl/ |
D | x509.h | 311 DECLARE_STACK_OF(X509) 312 DECLARE_ASN1_SET_OF(X509) 319 int (*check_trust)(struct x509_trust_st *, X509 *, int); 328 X509 *forward; 329 X509 *reverse; 513 X509 *x509; 548 STACK_OF(X509) *certs; 647 int X509_verify(X509 *a, EVP_PKEY *r); 663 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 664 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); [all …]
|
D | x509_vfy.h | 129 X509 *x509; 197 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 198 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */ 200 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */ 202 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */ 203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 236 X509 *cert; /* The cert to check */ 237 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */ 246 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 247 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */ [all …]
|
D | pkcs7.h | 115 X509 *cert; /* get the pub-key from this */ 125 STACK_OF(X509) *cert; /* [ 0 ] */ 153 STACK_OF(X509) *cert; /* [ 0 ] */ 314 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, 318 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509); 324 X509 *x509); 328 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); 331 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, 333 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si); 337 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509); [all …]
|
D | ocsp.h | 146 STACK_OF(X509) *certs; 308 STACK_OF(X509) *certs; 413 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); 428 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert); 431 X509 *signer, 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long … 476 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert); 478 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, 479 STACK_OF(X509) *certs, unsigned long flags); [all …]
|
D | x509v3.h | 132 X509 *issuer_cert; 133 X509 *subject_cert; 463 const X509 *, int); 575 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc); 608 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509 *cert); 617 char *section, X509 *cert); 635 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, 677 int X509_check_ca(X509 *x); 678 int X509_check_purpose(X509 *x, int id, int ca); 681 int X509_check_issued(X509 *issuer, X509 *subject); [all …]
|
/external/openssl/crypto/ocsp/ |
D | ocsp_vfy.c | 63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, 65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id); 66 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain, unsigned long flags); 68 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, STACK_OF(OCSP_SINGLERESP) *sresp); 69 static int ocsp_check_delegated(X509 *x, int flags); 70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *c… 75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in OCSP_basic_verify() 78 X509 *signer, *x; in OCSP_basic_verify() 79 STACK_OF(X509) *chain = NULL; in OCSP_basic_verify() 166 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in ocsp_find_signer() [all …]
|
D | ocsp.h | 146 STACK_OF(X509) *certs; 308 STACK_OF(X509) *certs; 413 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); 428 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert); 431 X509 *signer, 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long … 476 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert); 478 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, 479 STACK_OF(X509) *certs, unsigned long flags); [all …]
|
/external/openssl/crypto/x509v3/ |
D | v3_purp.c | 64 static void x509v3_cache_extensions(X509 *x); 66 static int check_ssl_ca(const X509 *x); 67 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca); 68 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca); 69 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca); 70 static int purpose_smime(const X509 *x, int ca); 71 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca); 72 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca); 73 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca); 74 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, int ca); [all …]
|
D | x509v3.h | 132 X509 *issuer_cert; 133 X509 *subject_cert; 463 const X509 *, int); 575 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc); 608 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509 *cert); 617 char *section, X509 *cert); 635 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, 677 int X509_check_ca(X509 *x); 678 int X509_check_purpose(X509 *x, int id, int ca); 681 int X509_check_issued(X509 *issuer, X509 *subject); [all …]
|
/external/openssl/crypto/pkcs7/ |
D | pkcs7.h | 115 X509 *cert; /* get the pub-key from this */ 125 STACK_OF(X509) *cert; /* [ 0 ] */ 153 STACK_OF(X509) *cert; /* [ 0 ] */ 314 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, 318 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509); 324 X509 *x509); 328 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); 331 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, 333 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si); 337 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509); [all …]
|
D | pk7_smime.c | 68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign() 161 PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, in PKCS7_sign_add_signer() 266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, in PKCS7_verify() 269 STACK_OF(X509) *signers; in PKCS7_verify() 270 X509 *signer; in PKCS7_verify() 430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) in STACK_OF() argument 432 STACK_OF(X509) *signers; in STACK_OF() 436 X509 *signer; in STACK_OF() 492 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, in PKCS7_encrypt() 498 X509 *x509; in PKCS7_encrypt() [all …]
|
/external/openssl/crypto/pkcs12/ |
D | p12_kiss.c | 66 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 72 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() 81 STACK_OF(X509) **ca) in PKCS12_parse() 83 STACK_OF(X509) *ocerts = NULL; in PKCS12_parse() 84 X509 *x = NULL; in PKCS12_parse() 180 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12() 213 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags() 225 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bag() [all …]
|
/external/openssl/crypto/pem/ |
D | pem_x509.c | 67 IMPLEMENT_PEM_rw(X509, X509, PEM_STRING_X509, X509)
|
/external/openssl/crypto/objects/ |
D | objects.txt | 665 X500 4 : X509 666 X509 3 : CN : commonName 667 X509 4 : SN : surname 668 X509 5 : : serialNumber 669 X509 6 : C : countryName 670 X509 7 : L : localityName 671 X509 8 : ST : stateOrProvinceName 672 X509 9 : street : streetAddress 673 X509 10 : O : organizationName 674 X509 11 : OU : organizationalUnitName [all …]
|
/external/openssl/apps/ |
D | verify.c | 74 STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, 86 STACK_OF(X509) *untrusted = NULL, *trusted = NULL; in MAIN() 267 STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, in check() 270 X509 *x=NULL; in check() 314 X509 *current_cert = X509_STORE_CTX_get_current_cert(ctx); in cb()
|