Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509/
Dx509_set.c69 M_ASN1_INTEGER_free(x->cert_info->version); in X509_set_version()
70 x->cert_info->version = NULL; in X509_set_version()
73 if (x->cert_info->version == NULL) in X509_set_version()
75 if ((x->cert_info->version=M_ASN1_INTEGER_new()) == NULL) in X509_set_version()
78 return(ASN1_INTEGER_set(x->cert_info->version,version)); in X509_set_version()
86 in=x->cert_info->serialNumber; in X509_set_serialNumber()
92 M_ASN1_INTEGER_free(x->cert_info->serialNumber); in X509_set_serialNumber()
93 x->cert_info->serialNumber=in; in X509_set_serialNumber()
101 if ((x == NULL) || (x->cert_info == NULL)) return(0); in X509_set_issuer_name()
102 return(X509_NAME_set(&x->cert_info->issuer,name)); in X509_set_issuer_name()
[all …]
Dx509_cmp.c76 ai=a->cert_info; in X509_issuer_and_serial_cmp()
77 bi=b->cert_info; in X509_issuer_and_serial_cmp()
91 f=X509_NAME_oneline(a->cert_info->issuer,NULL,0); in X509_issuer_and_serial_hash()
97 if(!EVP_DigestUpdate(&ctx,(unsigned char *)a->cert_info->serialNumber->data, in X509_issuer_and_serial_hash()
98 (unsigned long)a->cert_info->serialNumber->length)) in X509_issuer_and_serial_hash()
112 return(X509_NAME_cmp(a->cert_info->issuer,b->cert_info->issuer)); in X509_issuer_name_cmp()
117 return(X509_NAME_cmp(a->cert_info->subject,b->cert_info->subject)); in X509_subject_name_cmp()
132 return(a->cert_info->issuer); in X509_get_issuer_name()
137 return(X509_NAME_hash(x->cert_info->issuer)); in X509_issuer_name_hash()
142 return(X509_NAME_hash_old(x->cert_info->issuer)); in X509_issuer_name_hash_old()
[all …]
Dx509_ext.c114 return(X509v3_get_ext_count(x->cert_info->extensions)); in X509_get_ext_count()
119 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); in X509_get_ext_by_NID()
124 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos)); in X509_get_ext_by_OBJ()
129 return(X509v3_get_ext_by_critical(x->cert_info->extensions,crit,lastpos)); in X509_get_ext_by_critical()
134 return(X509v3_get_ext(x->cert_info->extensions,loc)); in X509_get_ext()
139 return(X509v3_delete_ext(x->cert_info->extensions,loc)); in X509_delete_ext()
144 return(X509v3_add_ext(&(x->cert_info->extensions),ex,loc) != NULL); in X509_add_ext()
149 return X509V3_get_d2i(x->cert_info->extensions, nid, crit, idx); in X509_get_ext_d2i()
155 return X509V3_add1_i2d(&x->cert_info->extensions, nid, value, crit, in X509_add1_ext_i2d()
Dx_all.c72 if (X509_ALGOR_cmp(a->sig_alg, a->cert_info->signature)) in X509_verify()
75 a->signature,a->cert_info,r)); in X509_verify()
86 x->cert_info->enc.modified = 1; in X509_sign()
87 return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CINF), x->cert_info->signature, in X509_sign()
88 x->sig_alg, x->signature, x->cert_info,pkey,md)); in X509_sign()
93 x->cert_info->enc.modified = 1; in X509_sign_ctx()
95 x->cert_info->signature, in X509_sign_ctx()
96 x->sig_alg, x->signature, x->cert_info, ctx); in X509_sign_ctx()
Dt_x509.c116 ci=x->cert_info; in X509_print_ex()
260 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
263 i2d_X509_NAME(x->cert_info->subject, &dertmp); in X509_ocspid_print()
279 if (!EVP_Digest(x->cert_info->key->public_key->data, in X509_ocspid_print()
280 x->cert_info->key->public_key->length, in X509_ocspid_print()
Dx_x509.c112 ret->name=X509_NAME_oneline(ret->cert_info->subject,NULL,0); in x509_cb()
135 ASN1_SIMPLE(X509, cert_info, X509_CINF),
Dx509_r2x.c80 xi=ret->cert_info; in X509_REQ_to_X509()
Dby_dir.c300 data.x509.st_x509.cert_info= &data.x509.st_x509_cinf; in get_cert_by_subject()
Dx509_lu.c446 x509_s.cert_info= &cinf_s; in x509_object_idx_cnt()
/external/boringssl/src/crypto/x509v3/
Dv3_skey.c128 else pk = ctx->subject_cert->cert_info->key->public_key; in s2i_skey_id()
Dv3_conf.c354 sk = &cert->cert_info->extensions; in X509V3_EXT_add_nconf()
/external/boringssl/src/include/openssl/
Dx509.h243 X509_CINF *cert_info; member
561 #define X509_get_version(x) ASN1_INTEGER_get((x)->cert_info->version)
563 #define X509_get_notBefore(x) ((x)->cert_info->validity->notBefore)
564 #define X509_get_notAfter(x) ((x)->cert_info->validity->notAfter)
565 #define X509_get_cert_info(x) ((x)->cert_info)
598 #define X509_get_X509_PUBKEY(x) ((x)->cert_info->key)
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c665 len = i2d_X509_NAME(x509->cert_info->subject, NULL);
671 len = i2d_X509_NAME(x509->cert_info->subject, &bp);
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp5813 return ASN1ToByteArray<X509_CINF>(env, x509->cert_info, i2d_X509_CINF);
7018 if (x509->cert_info->issuerUID == NULL) {
7023 return ASN1BitStringToBooleanArray(env, x509->cert_info->issuerUID);
7035 if (x509->cert_info->subjectUID == NULL) {
7040 return ASN1BitStringToBooleanArray(env, x509->cert_info->subjectUID);
9169 EVP_PKEY* pkey = X509_PUBKEY_get(peer->cert_info->key);
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c436 pub_rsa = cert->cert_info->key->pkey->pkey.rsa; in tls_cryptoapi_cert()