/external/boringssl/src/crypto/err/ |
D | x509.errordata | 1 X509,100,AKID_MISMATCH 2 X509,101,BAD_PKCS7_VERSION 3 X509,102,BAD_X509_FILETYPE 4 X509,103,BASE64_DECODE_ERROR 5 X509,104,CANT_CHECK_DH_KEY 6 X509,105,CERT_ALREADY_IN_HASH_TABLE 7 X509,106,CRL_ALREADY_DELTA 8 X509,107,CRL_VERIFY_FAILURE 9 X509,108,IDP_MISMATCH 10 X509,109,INVALID_BIT_STRING_BITS_LEFT [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_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 | x509_vfy.c | 117 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); 118 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x); 127 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, 129 X509_CRL *crl, X509 *x); 131 X509_CRL **pcrl, X509_CRL **pdcrl, X509 *x); 135 X509 **pissuer, int *pcrl_score); 136 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, 138 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x); 140 STACK_OF(X509) *cert_path, 141 STACK_OF(X509) *crl_path); [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() 155 int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj) in X509_add1_reject_object() 176 void X509_trust_clear(X509 *x) in X509_trust_clear() 184 void X509_reject_clear(X509 *x) in X509_reject_clear() [all …]
|
D | by_file.c | 112 OPENSSL_PUT_ERROR(X509, X509_R_LOADING_DEFAULTS); in by_file_ctrl() 133 X509 *x=NULL; in X509_load_cert_file() 140 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_cert_file() 159 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_cert_file() 176 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_cert_file() 185 OPENSSL_PUT_ERROR(X509, X509_R_BAD_X509_FILETYPE); in X509_load_cert_file() 206 OPENSSL_PUT_ERROR(X509, ERR_R_SYS_LIB); in X509_load_crl_file() 225 OPENSSL_PUT_ERROR(X509, ERR_R_PEM_LIB); in X509_load_crl_file() 242 OPENSSL_PUT_ERROR(X509, ERR_R_ASN1_LIB); in X509_load_crl_file() 251 OPENSSL_PUT_ERROR(X509, 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, X509_R_BASE64_DECODE_ERROR); in NETSCAPE_SPKI_b64_decode() 91 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in NETSCAPE_SPKI_b64_decode() 95 OPENSSL_PUT_ERROR(X509, X509_R_BASE64_DECODE_ERROR); in NETSCAPE_SPKI_b64_decode() 116 OPENSSL_PUT_ERROR(X509, ERR_R_OVERFLOW); in NETSCAPE_SPKI_b64_encode() 121 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in NETSCAPE_SPKI_b64_encode() 127 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in NETSCAPE_SPKI_b64_encode()
|
D | pkcs7.c | 61 OPENSSL_PUT_ERROR(X509, X509_R_NOT_PKCS7_SIGNED_DATA); in pkcs7_parse_header() 76 OPENSSL_PUT_ERROR(X509, X509_R_BAD_PKCS7_VERSION); in pkcs7_parse_header() 92 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { in PKCS7_get_certificates() 105 OPENSSL_PUT_ERROR(X509, X509_R_NO_CERTIFICATES_INCLUDED); in PKCS7_get_certificates() 111 X509 *x509; in PKCS7_get_certificates() 144 X509 *x509 = sk_X509_pop(out_certs); in PKCS7_get_certificates() 175 OPENSSL_PUT_ERROR(X509, X509_R_NO_CRLS_INCLUDED); in PKCS7_get_CRLs() 221 int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs, BIO *pem_bio) { in PKCS7_get_PEM_certificates() 296 const STACK_OF(X509) *certs = arg; in pkcs7_bundle_certificates_cb() 307 X509 *x509 = sk_X509_value(certs, i); in pkcs7_bundle_certificates_cb() [all …]
|
D | a_verify.c | 83 OPENSSL_PUT_ERROR(X509, ERR_R_PASSED_NULL_PARAMETER); in ASN1_item_verify() 89 OPENSSL_PUT_ERROR(X509, X509_R_INVALID_BIT_STRING_BITS_LEFT); in ASN1_item_verify() 104 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in ASN1_item_verify() 112 OPENSSL_PUT_ERROR(X509, ERR_R_EVP_LIB); in ASN1_item_verify() 122 OPENSSL_PUT_ERROR(X509, ERR_R_EVP_LIB); in ASN1_item_verify()
|
D | x_pubkey.c | 103 OPENSSL_PUT_ERROR(X509, X509_R_PUBLIC_KEY_ENCODE_ERROR); 109 OPENSSL_PUT_ERROR(X509, X509_R_METHOD_NOT_SUPPORTED); 115 OPENSSL_PUT_ERROR(X509, X509_R_UNSUPPORTED_ALGORITHM); 154 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in X509_PUBKEY_get() 160 OPENSSL_PUT_ERROR(X509, X509_R_UNSUPPORTED_ALGORITHM); in X509_PUBKEY_get() 168 OPENSSL_PUT_ERROR(X509, X509_R_PUBLIC_KEY_DECODE_ERROR); in X509_PUBKEY_get() 174 OPENSSL_PUT_ERROR(X509, X509_R_METHOD_NOT_SUPPORTED); in X509_PUBKEY_get() 265 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in i2d_RSA_PUBKEY() 304 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in i2d_DSA_PUBKEY() 341 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); in i2d_EC_PUBKEY()
|
D | x_all.c | 67 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify() 81 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 88 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx) in X509_sign_ctx() 135 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() 137 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp() 140 int i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp() 142 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); in i2d_X509_fp() 146 X509 *d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio() 148 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509); in d2i_X509_bio() 151 int i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio() [all …]
|
/external/boringssl/src/include/openssl/ |
D | x509.h | 266 DECLARE_STACK_OF(X509) 267 DECLARE_ASN1_SET_OF(X509) 274 int (*check_trust)(struct x509_trust_st *, X509 *, int); 283 X509 *forward; 284 X509 *reverse; 465 X509 *x509; 499 STACK_OF(X509) *certs; 603 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r); 619 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 620 OPENSSL_EXPORT int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); [all …]
|
D | x509_vfy.h | 124 X509 *x509; 196 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 197 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */ 199 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */ 201 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */ 202 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); 234 X509 *cert; /* The cert to check */ 235 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */ 244 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */ 245 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/ssl/ |
D | ssl_cert.c | 227 int ssl_cert_set0_chain(CERT *cert, STACK_OF(X509) *chain) { in ssl_cert_set0_chain() 233 int ssl_cert_set1_chain(CERT *cert, STACK_OF(X509) *chain) { in ssl_cert_set1_chain() 234 STACK_OF(X509) *dchain; in ssl_cert_set1_chain() 252 int ssl_cert_add0_chain_cert(CERT *cert, X509 *x509) { in ssl_cert_add0_chain_cert() 263 int ssl_cert_add1_chain_cert(CERT *cert, X509 *x509) { in ssl_cert_add1_chain_cert() 277 int ssl_verify_cert_chain(SSL *ssl, STACK_OF(X509) *cert_chain) { in ssl_verify_cert_chain() 282 X509 *leaf = sk_X509_value(cert_chain, 0); in ssl_verify_cert_chain() 372 static int add_client_CA(STACK_OF(X509_NAME) **sk, X509 *x509) { in add_client_CA() 398 int SSL_add_client_CA(SSL *ssl, X509 *x509) { in SSL_add_client_CA() 402 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x509) { in SSL_CTX_add_client_CA() [all …]
|
/external/boringssl/src/crypto/x509v3/ |
D | v3name_test.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 | 81 static void x509v3_cache_extensions(X509 *x); 83 static int check_ssl_ca(const X509 *x); 84 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca); 85 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca); 86 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca); 87 static int purpose_smime(const X509 *x, int ca); 88 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x, int ca); 89 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x, int ca); 90 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x, int ca); 91 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()
|