Home
last modified time | relevance | path

Searched refs:cert_info (Results 1 – 25 of 27) sorted by relevance

12

/external/openssl/crypto/x509/
Dx509_set.c69 if (x->cert_info->version == NULL) in X509_set_version()
71 if ((x->cert_info->version=M_ASN1_INTEGER_new()) == NULL) in X509_set_version()
74 return(ASN1_INTEGER_set(x->cert_info->version,version)); in X509_set_version()
82 in=x->cert_info->serialNumber; in X509_set_serialNumber()
88 M_ASN1_INTEGER_free(x->cert_info->serialNumber); in X509_set_serialNumber()
89 x->cert_info->serialNumber=in; in X509_set_serialNumber()
97 if ((x == NULL) || (x->cert_info == NULL)) return(0); in X509_set_issuer_name()
98 return(X509_NAME_set(&x->cert_info->issuer,name)); in X509_set_issuer_name()
103 if ((x == NULL) || (x->cert_info == NULL)) return(0); in X509_set_subject_name()
104 return(X509_NAME_set(&x->cert_info->subject,name)); in X509_set_subject_name()
[all …]
Dx509_cmp.c72 ai=a->cert_info; in X509_issuer_and_serial_cmp()
73 bi=b->cert_info; in X509_issuer_and_serial_cmp()
88 f=X509_NAME_oneline(a->cert_info->issuer,NULL,0); in X509_issuer_and_serial_hash()
95 if(!EVP_DigestUpdate(&ctx,(unsigned char *)a->cert_info->serialNumber->data, in X509_issuer_and_serial_hash()
96 (unsigned long)a->cert_info->serialNumber->length)) in X509_issuer_and_serial_hash()
111 return(X509_NAME_cmp(a->cert_info->issuer,b->cert_info->issuer)); in X509_issuer_name_cmp()
116 return(X509_NAME_cmp(a->cert_info->subject,b->cert_info->subject)); in X509_subject_name_cmp()
133 return(a->cert_info->issuer); in X509_get_issuer_name()
138 return(X509_NAME_hash(x->cert_info->issuer)); in X509_issuer_name_hash()
144 return(X509_NAME_hash_old(x->cert_info->issuer)); in X509_issuer_name_hash_old()
[all …]
Dx509_ext.c117 return(X509v3_get_ext_count(x->cert_info->extensions)); in X509_get_ext_count()
122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); in X509_get_ext_by_NID()
127 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos)); in X509_get_ext_by_OBJ()
132 return(X509v3_get_ext_by_critical(x->cert_info->extensions,crit,lastpos)); in X509_get_ext_by_critical()
137 return(X509v3_get_ext(x->cert_info->extensions,loc)); in X509_get_ext()
142 return(X509v3_delete_ext(x->cert_info->extensions,loc)); in X509_delete_ext()
147 return(X509v3_add_ext(&(x->cert_info->extensions),ex,loc) != NULL); in X509_add_ext()
152 return X509V3_get_d2i(x->cert_info->extensions, nid, crit, idx); in X509_get_ext_d2i()
158 return X509V3_add1_i2d(&x->cert_info->extensions, nid, value, crit, in X509_add1_ext_i2d()
Dx_all.c76 a->signature,a->cert_info,r)); in X509_verify()
93 x->cert_info->enc.modified = 1; in X509_sign()
94 return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CINF), x->cert_info->signature, in X509_sign()
95 x->sig_alg, x->signature, x->cert_info,pkey,md)); in X509_sign()
101 x->cert_info->signature, in X509_sign_ctx()
102 x->sig_alg, x->signature, x->cert_info, ctx); in X509_sign_ctx()
Dx509_r2x.c81 xi=ret->cert_info; in X509_REQ_to_X509()
Dx509.h281 X509_CINF *cert_info; member
610 #define X509_get_version(x) ASN1_INTEGER_get((x)->cert_info->version)
612 #define X509_get_notBefore(x) ((x)->cert_info->validity->notBefore)
613 #define X509_get_notAfter(x) ((x)->cert_info->validity->notAfter)
641 #define X509_get_X509_PUBKEY(x) ((x)->cert_info->key)
Dby_dir.c299 data.x509.st_x509.cert_info= &data.x509.st_x509_cinf; in get_cert_by_subject()
Dx509_lu.c441 x509_s.cert_info= &cinf_s; in x509_object_idx_cnt()
/external/openssl/crypto/x509v3/
Dv3conf.c105 sk_pop_free(cert->cert_info->extensions, X509_EXTENSION_free); in main()
106 cert->cert_info->extensions = NULL; in main()
Dv3_skey.c125 else pk = ctx->subject_cert->cert_info->key->public_key; in s2i_skey_id()
Dv3_conf.c351 sk = &cert->cert_info->extensions; in X509V3_EXT_add_nconf()
/external/openssl/crypto/asn1/
Dt_x509.c124 ci=x->cert_info; in X509_print_ex()
258 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
261 i2d_X509_NAME(x->cert_info->subject, &dertmp); in X509_ocspid_print()
277 if (!EVP_Digest(x->cert_info->key->public_key->data, in X509_ocspid_print()
278 x->cert_info->key->public_key->length, in X509_ocspid_print()
Dx_x509.c109 ret->name=X509_NAME_oneline(ret->cert_info->subject,NULL,0); in x509_cb()
136 ASN1_SIMPLE(X509, cert_info, X509_CINF),
/external/chromium/net/http/
Dhttp_stream_factory_impl_request.cc164 SSLCertRequestInfo* cert_info) { in OnNeedsClientAuth() argument
169 delegate_->OnNeedsClientAuth(used_ssl_config, cert_info); in OnNeedsClientAuth()
Dhttp_stream_factory_impl_request.h72 SSLCertRequestInfo* cert_info);
Dhttp_stream_factory.h104 SSLCertRequestInfo* cert_info) = 0;
Dhttp_stream_factory_impl_job.h127 void OnNeedsClientAuthCallback(SSLCertRequestInfo* cert_info);
Dhttp_network_transaction.h75 SSLCertRequestInfo* cert_info);
Dhttp_stream_factory_impl_job.cc251 SSLCertRequestInfo* cert_info) { in OnNeedsClientAuthCallback() argument
256 request_->OnNeedsClientAuth(this, ssl_config_, cert_info); in OnNeedsClientAuthCallback()
Dhttp_network_transaction.cc445 SSLCertRequestInfo* cert_info) { in OnNeedsClientAuth() argument
449 response_.cert_request_info = cert_info; in OnNeedsClientAuth()
/external/openssl/include/openssl/
Dx509.h281 X509_CINF *cert_info; member
610 #define X509_get_version(x) ASN1_INTEGER_get((x)->cert_info->version)
612 #define X509_get_notBefore(x) ((x)->cert_info->validity->notBefore)
613 #define X509_get_notAfter(x) ((x)->cert_info->validity->notAfter)
641 #define X509_get_X509_PUBKEY(x) ((x)->cert_info->key)
/external/openssl/ssl/
Ds3_lib.c3872 (s->cert->pkeys[SSL_PKEY_ECC].x509->cert_info != NULL) in ssl3_choose_cipher()
3873 && (s->cert->pkeys[SSL_PKEY_ECC].x509->cert_info->key != NULL) in ssl3_choose_cipher()
3874 && (s->cert->pkeys[SSL_PKEY_ECC].x509->cert_info->key->public_key != NULL) in ssl3_choose_cipher()
3875 && (s->cert->pkeys[SSL_PKEY_ECC].x509->cert_info->key->public_key->data != NULL) in ssl3_choose_cipher()
3877 …(*(s->cert->pkeys[SSL_PKEY_ECC].x509->cert_info->key->public_key->data) == POINT_CONVERSION_COMPRE… in ssl3_choose_cipher()
3878 …|| (*(s->cert->pkeys[SSL_PKEY_ECC].x509->cert_info->key->public_key->data) == POINT_CONVERSION_COM… in ssl3_choose_cipher()
/external/openssl/apps/
Dca.c1311 j=x->cert_info->serialNumber->length; in MAIN()
1312 p=(const char *)x->cert_info->serialNumber->data; in MAIN()
1815 CAname=X509_NAME_dup(x509->cert_info->subject); in do_body()
2020 ci=ret->cert_info; in do_body()
2258 i2a_ASN1_INTEGER(bp,x->cert_info->serialNumber); in write_new_certificate()
/external/openssl/crypto/pkcs7/
Dpk7_doit.c412 pcert->cert_info->issuer); in pkcs7_cmp_ri()
415 return M_ASN1_INTEGER_cmp(pcert->cert_info->serialNumber, in pkcs7_cmp_ri()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c659 len = i2d_X509_NAME(x509->cert_info->subject, NULL);
665 len = i2d_X509_NAME(x509->cert_info->subject, &bp);

12