/external/boringssl/src/crypto/err/ |
D | x509.errordata | 1 X509,function,100,ASN1_digest 2 X509,function,101,ASN1_item_sign_ctx 3 X509,function,102,ASN1_item_verify 4 X509,function,103,NETSCAPE_SPKI_b64_decode 5 X509,function,104,NETSCAPE_SPKI_b64_encode 6 X509,function,158,PKCS7_get_CRLs 7 X509,function,105,PKCS7_get_certificates 8 X509,function,106,X509_ATTRIBUTE_create_by_NID 9 X509,function,107,X509_ATTRIBUTE_create_by_OBJ 10 X509,function,108,X509_ATTRIBUTE_create_by_txt [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x509_cmp.c | 71 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) in X509_issuer_and_serial_cmp() 83 unsigned long X509_issuer_and_serial_hash(X509 *a) in X509_issuer_and_serial_hash() 110 int X509_issuer_name_cmp(const X509 *a, const X509 *b) in X509_issuer_name_cmp() 115 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() 140 unsigned long X509_issuer_name_hash_old(X509 *x) in X509_issuer_name_hash_old() 145 X509_NAME *X509_get_subject_name(X509 *a) in X509_get_subject_name() 150 ASN1_INTEGER *X509_get_serialNumber(X509 *a) in X509_get_serialNumber() 155 unsigned long X509_subject_name_hash(X509 *x) in X509_subject_name_hash() [all …]
|
D | x_x509.c | 94 X509 *ret = (X509 *)*pval; in x509_cb() 134 ASN1_SEQUENCE_ref(X509, x509_cb) = { 135 ASN1_SIMPLE(X509, cert_info, X509_CINF), 136 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR), 137 ASN1_SIMPLE(X509, signature, ASN1_BIT_STRING) 138 } ASN1_SEQUENCE_END_ref(X509, X509) 140 IMPLEMENT_ASN1_FUNCTIONS(X509) 141 IMPLEMENT_ASN1_DUP_FUNCTION(X509) 143 X509 *X509_up_ref(X509 *x) 161 int X509_set_ex_data(X509 *r, int idx, void *arg) in X509_set_ex_data() [all …]
|
D | x509_trs.c | 66 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags); 67 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags); 68 static int trust_compat(X509_TRUST *trust, X509 *x, int flags); 70 static int obj_trust(int id, X509 *x, int flags); 71 static int (*default_trust)(int id, X509 *x, int flags) = obj_trust; 99 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int) in X509_TRUST_set_default() argument 101 int (*oldtrust)(int , X509 *, int); in X509_TRUST_set_default() 108 int X509_check_trust(X509 *x, int id, int flags) in X509_check_trust() 159 OPENSSL_PUT_ERROR(X509, X509_TRUST_set, X509_R_INVALID_TRUST); in X509_TRUST_set() 166 int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), in X509_TRUST_add() argument [all …]
|
D | x_x509a.c | 69 static X509_CERT_AUX *aux_get(X509 *x); 81 static X509_CERT_AUX *aux_get(X509 *x) 88 int X509_alias_set1(X509 *x, unsigned char *name, int len) in X509_alias_set1() 104 int X509_keyid_set1(X509 *x, unsigned char *id, int len) in X509_keyid_set1() 120 unsigned char *X509_alias_get0(X509 *x, int *len) in X509_alias_get0() 127 unsigned char *X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0() 134 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_trust_object() 145 int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_reject_object() 156 void X509_trust_clear(X509 *x) in X509_trust_clear() 164 void X509_reject_clear(X509 *x) in X509_reject_clear() [all …]
|
D | x509_vfy.c | 116 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); 117 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x); 126 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, 128 X509_CRL *crl, X509 *x); 130 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x); 134 X509 **pissuer, int *pcrl_score); 135 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, 137 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x); 139 STACK_OF(X509) *cert_path, 140 STACK_OF(X509) *crl_path); [all …]
|
D | by_file.c | 112 OPENSSL_PUT_ERROR(X509, by_file_ctrl, X509_R_LOADING_DEFAULTS); in by_file_ctrl() 133 X509 *x=NULL; in X509_load_cert_file() 140 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_SYS_LIB); in X509_load_cert_file() 159 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_PEM_LIB); in X509_load_cert_file() 176 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, ERR_R_ASN1_LIB); in X509_load_cert_file() 185 OPENSSL_PUT_ERROR(X509, X509_load_cert_file, X509_R_BAD_X509_FILETYPE); in X509_load_cert_file() 206 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_SYS_LIB); in X509_load_crl_file() 225 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_PEM_LIB); in X509_load_crl_file() 242 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, ERR_R_ASN1_LIB); in X509_load_crl_file() 251 OPENSSL_PUT_ERROR(X509, X509_load_crl_file, X509_R_BAD_X509_FILETYPE); in X509_load_crl_file() [all …]
|
D | x509_ext.c | 112 int X509_get_ext_count(X509 *x) in X509_get_ext_count() 117 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() 122 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() 127 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos) in X509_get_ext_by_critical() 132 X509_EXTENSION *X509_get_ext(X509 *x, int loc) in X509_get_ext() 137 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext() 142 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext() 147 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) in X509_get_ext_d2i() 152 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, in X509_add1_ext_i2d()
|
D | x509_set.c | 64 int X509_set_version(X509 *x, long version) in X509_set_version() 81 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial) in X509_set_serialNumber() 99 int X509_set_issuer_name(X509 *x, X509_NAME *name) in X509_set_issuer_name() 105 int X509_set_subject_name(X509 *x, X509_NAME *name) in X509_set_subject_name() 111 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm) in X509_set_notBefore() 129 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm) in X509_set_notAfter() 147 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey) in X509_set_pubkey()
|
D | x509spki.c | 87 OPENSSL_PUT_ERROR(X509, NETSCAPE_SPKI_b64_decode, X509_R_BASE64_DECODE_ERROR); in NETSCAPE_SPKI_b64_decode() 91 OPENSSL_PUT_ERROR(X509, NETSCAPE_SPKI_b64_decode, ERR_R_MALLOC_FAILURE); in NETSCAPE_SPKI_b64_decode() 95 OPENSSL_PUT_ERROR(X509, NETSCAPE_SPKI_b64_decode, X509_R_BASE64_DECODE_ERROR); in NETSCAPE_SPKI_b64_decode() 116 OPENSSL_PUT_ERROR(X509, NETSCAPE_SPKI_b64_encode, ERR_R_OVERFLOW); in NETSCAPE_SPKI_b64_encode() 121 OPENSSL_PUT_ERROR(X509, NETSCAPE_SPKI_b64_encode, ERR_R_MALLOC_FAILURE); in NETSCAPE_SPKI_b64_encode() 127 OPENSSL_PUT_ERROR(X509, NETSCAPE_SPKI_b64_encode, ERR_R_MALLOC_FAILURE); in NETSCAPE_SPKI_b64_encode()
|
D | a_verify.c | 83 OPENSSL_PUT_ERROR(X509, ASN1_item_verify, ERR_R_PASSED_NULL_PARAMETER); in ASN1_item_verify() 89 OPENSSL_PUT_ERROR(X509, ASN1_item_verify, X509_R_INVALID_BIT_STRING_BITS_LEFT); in ASN1_item_verify() 104 OPENSSL_PUT_ERROR(X509, ASN1_item_verify, ERR_R_MALLOC_FAILURE); in ASN1_item_verify() 112 OPENSSL_PUT_ERROR(X509, ASN1_item_verify, ERR_R_EVP_LIB); in ASN1_item_verify() 122 OPENSSL_PUT_ERROR(X509, ASN1_item_verify, ERR_R_EVP_LIB); in ASN1_item_verify()
|
D | pkcs7.c | 60 OPENSSL_PUT_ERROR(X509, pkcs7_parse_header, in pkcs7_parse_header() 76 OPENSSL_PUT_ERROR(X509, pkcs7_parse_header, in pkcs7_parse_header() 93 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { in PKCS7_get_certificates() 106 OPENSSL_PUT_ERROR(X509, PKCS7_get_certificates, in PKCS7_get_certificates() 113 X509 *x509; in PKCS7_get_certificates() 143 X509 *x509 = sk_X509_pop(out_certs); in PKCS7_get_certificates() 174 OPENSSL_PUT_ERROR(X509, PKCS7_get_CRLs, in PKCS7_get_CRLs() 218 int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs, BIO *pem_bio) { in PKCS7_get_PEM_certificates() 293 const STACK_OF(X509) *certs = arg; in pkcs7_bundle_certificates_cb() 304 X509 *x509 = sk_X509_value(certs, i); in pkcs7_bundle_certificates_cb() [all …]
|
D | x_pubkey.c | 103 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_set, X509_R_PUBLIC_KEY_ENCODE_ERROR); 109 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_set, X509_R_METHOD_NOT_SUPPORTED); 115 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_set, X509_R_UNSUPPORTED_ALGORITHM); 154 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, ERR_R_MALLOC_FAILURE); in X509_PUBKEY_get() 160 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, X509_R_UNSUPPORTED_ALGORITHM); in X509_PUBKEY_get() 168 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, X509_R_PUBLIC_KEY_DECODE_ERROR); in X509_PUBKEY_get() 174 OPENSSL_PUT_ERROR(X509, X509_PUBKEY_get, X509_R_METHOD_NOT_SUPPORTED); in X509_PUBKEY_get() 265 OPENSSL_PUT_ERROR(X509, i2d_RSA_PUBKEY, ERR_R_MALLOC_FAILURE); in i2d_RSA_PUBKEY() 304 OPENSSL_PUT_ERROR(X509, i2d_DSA_PUBKEY, ERR_R_MALLOC_FAILURE); in i2d_DSA_PUBKEY() 341 OPENSSL_PUT_ERROR(X509, i2d_EC_PUBKEY, ERR_R_MALLOC_FAILURE); in i2d_EC_PUBKEY()
|
D | x_all.c | 70 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify() 84 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 91 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx) in X509_sign_ctx() 148 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() 150 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp() 153 int i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp() 155 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); in i2d_X509_fp() 159 X509 *d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio() 161 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509); in d2i_X509_bio() 164 int i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio() [all …]
|
/external/boringssl/src/include/openssl/ |
D | x509.h | 267 DECLARE_STACK_OF(X509) 268 DECLARE_ASN1_SET_OF(X509) 275 int (*check_trust)(struct x509_trust_st *, X509 *, int); 284 X509 *forward; 285 X509 *reverse; 466 X509 *x509; 500 STACK_OF(X509) *certs; 604 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r); 620 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 621 OPENSSL_EXPORT int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); [all …]
|
D | x509_vfy.h | 125 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); 235 X509 *cert; /* The cert to check */ 236 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */ 245 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 246 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */ [all …]
|
D | x509v3.h | 129 X509 *issuer_cert; 130 X509 *subject_cert; 462 const X509 *, int); 574 OPENSSL_EXPORT int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc); 606 OPENSSL_EXPORT int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509 *cert); 623 OPENSSL_EXPORT void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, 665 OPENSSL_EXPORT int X509_check_ca(X509 *x); 666 OPENSSL_EXPORT int X509_check_purpose(X509 *x, int id, int ca); 669 OPENSSL_EXPORT int X509_check_issued(X509 *issuer, X509 *subject); 670 OPENSSL_EXPORT int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid); [all …]
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
D | pairingcontext.h | 33 PairingContext(X509* local_certificate, 34 X509* peer_certificate, 38 void set_local_certificate(X509 *local_certificate); 41 void set_peer_certificate(X509 *peer_certificate); 44 X509* client_certificate() const; 47 X509* server_certificate() const; 56 X509 *local_certificate_; 57 X509 *peer_certificate_;
|
D | pairingcontext.cc | 20 PairingContext::PairingContext(X509 *local_certificate, in PairingContext() 21 X509 *peer_certificate, in PairingContext() 28 void PairingContext::set_local_certificate(X509* local_certificate) { in set_local_certificate() 32 void PairingContext::set_peer_certificate(X509* peer_certificate) { in set_peer_certificate() 36 X509* PairingContext::client_certificate() const { in client_certificate() 40 X509* PairingContext::server_certificate() const { in server_certificate()
|
D | polochallengeresponse.h | 36 PoloChallengeResponse(X509* client_cert, X509* server_cert); 52 X509* client_cert; 53 X509* server_cert;
|
/external/boringssl/src/crypto/x509v3/ |
D | v3nametest.c | 122 static int set_cn(X509 *crt, ...) in set_cn() 159 static int set_altname(X509 *crt, ...) in set_altname() 210 static int set_cn1(X509 *crt, const char *name) in set_cn1() 216 static int set_cn_and_email(X509 *crt, const char *name) in set_cn_and_email() 222 static int set_cn2(X509 *crt, const char *name) in set_cn2() 228 static int set_cn3(X509 *crt, const char *name) in set_cn3() 234 static int set_email1(X509 *crt, const char *name) in set_email1() 239 static int set_email2(X509 *crt, const char *name) in set_email2() 245 static int set_email3(X509 *crt, const char *name) in set_email3() 251 static int set_email_and_cn(X509 *crt, const char *name) in set_email_and_cn() [all …]
|
D | v3_purp.c | 73 static void x509v3_cache_extensions(X509 *x); 75 static int check_ssl_ca(const X509 *x); 76 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca); 77 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca); 78 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca); 79 static int purpose_smime(const X509 *x, int ca); 80 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca); 81 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca); 82 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca); 83 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, int ca); [all …]
|
/external/boringssl/src/crypto/pem/ |
D | pem_x509.c | 65 IMPLEMENT_PEM_rw(X509, X509, PEM_STRING_X509, X509)
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
D | certificateutil.cc | 24 X509* CertificateUtil::X509FromPEM(std::string pem) { in X509FromPEM() 26 X509* x509 = PEM_read_bio_X509(bio, NULL, 0, NULL); in X509FromPEM() 40 std::string CertificateUtil::X509ToPEM(X509* x509) { in X509ToPEM() 86 X509* CertificateUtil::GenerateSelfSignedCert(EVP_PKEY* pkey, in GenerateSelfSignedCert() 89 X509* x509 = X509_new(); in GenerateSelfSignedCert()
|
/external/boringssl/src/ssl/ |
D | ssl_cert.c | 320 int ssl_cert_set0_chain(CERT *c, STACK_OF(X509) *chain) { in ssl_cert_set0_chain() 330 int ssl_cert_set1_chain(CERT *c, STACK_OF(X509) *chain) { in ssl_cert_set1_chain() 331 STACK_OF(X509) *dchain; in ssl_cert_set1_chain() 349 int ssl_cert_add0_chain_cert(CERT *c, X509 *x) { in ssl_cert_add0_chain_cert() 365 int ssl_cert_add1_chain_cert(CERT *c, X509 *x) { in ssl_cert_add1_chain_cert() 374 int ssl_cert_select_current(CERT *c, X509 *x) { in ssl_cert_select_current() 441 int ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk) { in ssl_verify_cert_chain() 442 X509 *x; in ssl_verify_cert_chain() 539 static int add_client_CA(STACK_OF(X509_NAME) **sk, X509 *x) { in add_client_CA() 565 int SSL_add_client_CA(SSL *ssl, X509 *x) { in SSL_add_client_CA() [all …]
|