Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509/
Dx509_set.c68 M_ASN1_INTEGER_free(x->cert_info->version); in X509_set_version()
69 x->cert_info->version = NULL; in X509_set_version()
72 if (x->cert_info->version == NULL) { in X509_set_version()
73 if ((x->cert_info->version = M_ASN1_INTEGER_new()) == NULL) in X509_set_version()
76 return (ASN1_INTEGER_set(x->cert_info->version, version)); in X509_set_version()
85 in = x->cert_info->serialNumber; in X509_set_serialNumber()
89 M_ASN1_INTEGER_free(x->cert_info->serialNumber); in X509_set_serialNumber()
90 x->cert_info->serialNumber = in; in X509_set_serialNumber()
98 if ((x == NULL) || (x->cert_info == NULL)) in X509_set_issuer_name()
100 return (X509_NAME_set(&x->cert_info->issuer, name)); in X509_set_issuer_name()
[all …]
Dx509_cmp.c78 ai = a->cert_info; in X509_issuer_and_serial_cmp()
79 bi = b->cert_info; in X509_issuer_and_serial_cmp()
94 f = X509_NAME_oneline(a->cert_info->issuer, NULL, 0); in X509_issuer_and_serial_hash()
101 (&ctx, (unsigned char *)a->cert_info->serialNumber->data, in X509_issuer_and_serial_hash()
102 (unsigned long)a->cert_info->serialNumber->length)) in X509_issuer_and_serial_hash()
116 return (X509_NAME_cmp(a->cert_info->issuer, b->cert_info->issuer)); in X509_issuer_name_cmp()
121 return (X509_NAME_cmp(a->cert_info->subject, b->cert_info->subject)); in X509_subject_name_cmp()
136 return (a->cert_info->issuer); in X509_get_issuer_name()
141 return (X509_NAME_hash(x->cert_info->issuer)); in X509_issuer_name_hash()
146 return (X509_NAME_hash_old(x->cert_info->issuer)); in X509_issuer_name_hash_old()
[all …]
Dx509_ext.c113 return (X509v3_get_ext_count(x->cert_info->extensions)); in X509_get_ext_count()
118 return (X509v3_get_ext_by_NID(x->cert_info->extensions, nid, lastpos)); in X509_get_ext_by_NID()
123 return (X509v3_get_ext_by_OBJ(x->cert_info->extensions, obj, lastpos)); in X509_get_ext_by_OBJ()
129 (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()
77 a->signature, a->cert_info, r)); in X509_verify()
88 x->cert_info->enc.modified = 1; in X509_sign()
89 return (ASN1_item_sign(ASN1_ITEM_rptr(X509_CINF), x->cert_info->signature, in X509_sign()
90 x->sig_alg, x->signature, x->cert_info, pkey, md)); in X509_sign()
95 x->cert_info->enc.modified = 1; in X509_sign_ctx()
97 x->cert_info->signature, in X509_sign_ctx()
98 x->sig_alg, x->signature, x->cert_info, ctx); in X509_sign_ctx()
Dx_x509.c121 ret->name = X509_NAME_oneline(ret->cert_info->subject, NULL, 0); in x509_cb()
145 ASN1_SIMPLE(X509, cert_info, X509_CINF),
165 x509->cert_info->enc.alias_only_on_next_parse = 1;
318 x->cert_info->enc.modified = 1; in i2d_re_X509_tbs()
319 return i2d_X509_CINF(x->cert_info, pp); in i2d_re_X509_tbs()
Dt_x509.c116 ci = x->cert_info; in X509_print_ex()
262 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
265 i2d_X509_NAME(x->cert_info->subject, &dertmp); in X509_ocspid_print()
282 if (!EVP_Digest(x->cert_info->key->public_key->data, in X509_ocspid_print()
283 x->cert_info->key->public_key->length, in X509_ocspid_print()
Dx509_r2x.c80 xi = ret->cert_info; in X509_REQ_to_X509()
Dby_dir.c285 data.x509.st_x509.cert_info = &data.x509.st_x509_cinf; in get_cert_by_subject()
Dx509_test.cc1217 const uint8_t *enc_pointer = root->cert_info->enc.enc; in TEST()
1263 X509_CINF_set_modified(root->cert_info); in TEST()
Dx509_lu.c462 x509_s.cert_info = &cinf_s; in x509_object_idx_cnt()
/external/python/oauth2client/oauth2client/
D_pure_python_crypt.py120 cert_info = asn1_cert['tbsCertificate']['subjectPublicKeyInfo']
121 key_bytes = _bit_list_to_bytes(cert_info['subjectPublicKey'])
/external/boringssl/src/crypto/x509v3/
Dv3_skey.c134 pk = ctx->subject_cert->cert_info->key->public_key; in s2i_skey_id()
Dv3_conf.c359 sk = &cert->cert_info->extensions; in X509V3_EXT_add_nconf()
/external/boringssl/src/include/openssl/
Dx509.h244 X509_CINF *cert_info; member
521 #define X509_get_version(x) ASN1_INTEGER_get((x)->cert_info->version)
523 #define X509_get_notBefore(x) ((x)->cert_info->validity->notBefore)
524 #define X509_get_notAfter(x) ((x)->cert_info->validity->notAfter)
525 #define X509_get_cert_info(x) ((x)->cert_info)
560 #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/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc4148 return ASN1ToByteArray<X509_CINF>(env, x509->cert_info, i2d_X509_CINF); in NativeCrypto_get_X509_cert_info_enc()
5624 if (x509->cert_info->issuerUID == nullptr) { in NativeCrypto_get_X509_issuerUID()
5629 return ASN1BitStringToBooleanArray(env, x509->cert_info->issuerUID); in NativeCrypto_get_X509_issuerUID()
5643 if (x509->cert_info->subjectUID == nullptr) { in NativeCrypto_get_X509_subjectUID()
5648 return ASN1BitStringToBooleanArray(env, x509->cert_info->subjectUID); in NativeCrypto_get_X509_subjectUID()
5807 return get_X509Type_ext_oids<X509, decltype(X509::cert_info), &X509::cert_info, in NativeCrypto_get_X509_ext_oids()
/external/curl/lib/vtls/
Dopenssl.c3105 X509_CINF *cinf = x->cert_info; in get_cert_chain()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c633 pub_rsa = cert->cert_info->key->pkey->pkey.rsa; in tls_cryptoapi_cert()