Home
last modified time | relevance | path

Searched refs:key_usage (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/net/cert/
Dx509_certificate_mac.cc413 x509_util::CSSMFieldValue key_usage; in SupportsSSLClientAuth() local
414 status = cached_cert.GetField(&CSSMOID_KeyUsage, &key_usage); in SupportsSSLClientAuth()
415 if (status == CSSM_OK && key_usage.field()) { in SupportsSSLClientAuth()
416 const CSSM_X509_EXTENSION* ext = key_usage.GetAs<CSSM_X509_EXTENSION>(); in SupportsSSLClientAuth()
423 status = cached_cert.GetField(&CSSMOID_ExtendedKeyUsage, &key_usage); in SupportsSSLClientAuth()
424 if (status == CSSM_OK && key_usage.field()) { in SupportsSSLClientAuth()
425 const CSSM_X509_EXTENSION* ext = key_usage.GetAs<CSSM_X509_EXTENSION>(); in SupportsSSLClientAuth()
/external/chromium_org/net/ssl/
Dclient_cert_store_win.cc35 BYTE key_usage; in ClientCertFindCallback() local
37 &key_usage, 1)) { in ClientCertFindCallback()
38 if (!(key_usage & CERT_DIGITAL_SIGNATURE_KEY_USAGE)) in ClientCertFindCallback()
/external/openssl/crypto/pkcs12/
Dp12_crt.c239 int key_usage, int iter, in PKCS12_add_key() argument
249 if(key_usage && !PKCS8_add_keyusage(p8, key_usage)) in PKCS12_add_key()
Dpkcs12.h253 int key_usage, int iter,
/external/chromium_org/crypto/
Drsa_private_key_nss.cc286 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DATA_ENCIPHERMENT | in CreateFromPrivateKeyInfoWithParams() local
290 key_usage, &result->key_, NULL); in CreateFromPrivateKeyInfoWithParams()
/external/wpa_supplicant_8/src/tls/
Dx509v3.h77 unsigned long key_usage; member
Dx509v3.c753 cert->key_usage = asn1_bit_string_to_long(hdr.payload, hdr.length); in x509_parse_ext_key_usage()
755 wpa_printf(MSG_DEBUG, "X509: KeyUsage 0x%lx", cert->key_usage); in x509_parse_ext_key_usage()
1821 !(cert->key_usage & X509_KEY_USAGE_KEY_CERT_SIGN)) { in x509_valid_issuer()
/external/chromium_org/third_party/webrtc/base/
Dnssidentity.cc463 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DATA_ENCIPHERMENT | in FromPEMStrings() local
471 key_usage, &privkey, NULL); in FromPEMStrings()
/external/chromium_org/net/socket/
Dssl_server_socket_nss.cc463 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DIGITAL_SIGNATURE; in InitializeSSLOptions() local
466 key_usage, &private_key, NULL); in InitializeSSLOptions()
Dssl_client_socket_nss.cc242 BYTE key_usage; in ClientCertFindCallback() local
244 &key_usage, 1)) { in ClientCertFindCallback()
245 if (!(key_usage & CERT_DIGITAL_SIGNATURE_KEY_USAGE)) in ClientCertFindCallback()
/external/openssl/include/openssl/
Dpkcs12.h253 int key_usage, int iter,
/external/openssl/crypto/objects/
Dobj_mac.num84 key_usage 83
/external/chromium_org/third_party/boringssl/src/crypto/obj/
Dobj_mac.num518 key_usage 518