Home
last modified time | relevance | path

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

/external/chromium_org/net/cert/
Dx509_certificate_mac.cc454 x509_util::CSSMFieldValue key_usage; in SupportsSSLClientAuth() local
455 status = cached_cert.GetField(&CSSMOID_KeyUsage, &key_usage); in SupportsSSLClientAuth()
456 if (status == CSSM_OK && key_usage.field()) { in SupportsSSLClientAuth()
457 const CSSM_X509_EXTENSION* ext = key_usage.GetAs<CSSM_X509_EXTENSION>(); in SupportsSSLClientAuth()
464 status = cached_cert.GetField(&CSSMOID_ExtendedKeyUsage, &key_usage); in SupportsSSLClientAuth()
465 if (status == CSSM_OK && key_usage.field()) { in SupportsSSLClientAuth()
466 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/chromium/chrome/common/net/
Dx509_certificate_model_nss.cc150 SECItem key_usage; in GetKeyUsageString() local
151 key_usage.data = NULL; in GetKeyUsageString()
153 if (CERT_FindKeyUsageExtension(cert_handle, &key_usage) == SECSuccess) { in GetKeyUsageString()
154 key_usage_str = psm::ProcessKeyUsageBitString(&key_usage, ','); in GetKeyUsageString()
155 PORT_Free(key_usage.data); in GetKeyUsageString()
/external/chromium_org/chrome/common/net/
Dx509_certificate_model_nss.cc154 SECItem key_usage; in GetKeyUsageString() local
155 key_usage.data = NULL; in GetKeyUsageString()
157 if (CERT_FindKeyUsageExtension(cert_handle, &key_usage) == SECSuccess) { in GetKeyUsageString()
158 key_usage_str = psm::ProcessKeyUsageBitString(&key_usage, ','); in GetKeyUsageString()
159 PORT_Free(key_usage.data); in GetKeyUsageString()
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/
Dp12_crt.c228 int key_usage, int iter, in PKCS12_add_key() argument
238 if(key_usage && !PKCS8_add_keyusage(p8, key_usage)) in PKCS12_add_key()
Dpkcs12.h253 int key_usage, int iter,
/external/openssl/crypto/pkcs12/
Dp12_crt.c228 int key_usage, int iter, in PKCS12_add_key() argument
238 if(key_usage && !PKCS8_add_keyusage(p8, key_usage)) in PKCS12_add_key()
Dpkcs12.h253 int key_usage, int iter,
/external/chromium/crypto/
Drsa_private_key_nss.cc229 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DATA_ENCIPHERMENT | in CreateFromPrivateKeyInfoWithParams() local
233 key_usage, &result->key_, NULL); in CreateFromPrivateKeyInfoWithParams()
/external/chromium_org/crypto/
Drsa_private_key_nss.cc257 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DATA_ENCIPHERMENT | in CreateFromPrivateKeyInfoWithParams() local
261 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()
1810 !(cert->key_usage & X509_KEY_USAGE_KEY_CERT_SIGN)) { in x509_valid_issuer()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dnssidentity.cc424 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DATA_ENCIPHERMENT | in FromPEMStrings() local
432 key_usage, &privkey, NULL); in FromPEMStrings()
/external/chromium/net/socket/
Dssl_server_socket_nss.cc320 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DIGITAL_SIGNATURE; in InitializeSSLOptions() local
323 key_usage, &private_key, NULL); in InitializeSSLOptions()
Dssl_client_socket_win.cc309 BYTE key_usage; in ClientCertFindCallback() local
311 &key_usage, 1)) { in ClientCertFindCallback()
312 if (!(key_usage & CERT_DIGITAL_SIGNATURE_KEY_USAGE)) in ClientCertFindCallback()
Dssl_client_socket_nss.cc220 BYTE key_usage; in ClientCertFindCallback() local
222 &key_usage, 1)) { in ClientCertFindCallback()
223 if (!(key_usage & CERT_DIGITAL_SIGNATURE_KEY_USAGE)) in ClientCertFindCallback()
/external/chromium/net/base/
Dx509_certificate_mac.cc1142 const CE_KeyUsage* key_usage = NULL; in SupportsSSLClientAuth() local
1148 key_usage = reinterpret_cast<const CE_KeyUsage*>(ext->value.parsedValue); in SupportsSSLClientAuth()
1164 if (key_usage && !((*key_usage) & CE_KU_DigitalSignature)) in SupportsSSLClientAuth()
/external/chromium_org/net/socket/
Dssl_server_socket_nss.cc460 const unsigned int key_usage = KU_KEY_ENCIPHERMENT | KU_DIGITAL_SIGNATURE; in InitializeSSLOptions() local
463 key_usage, &private_key, NULL); in InitializeSSLOptions()
Dssl_client_socket_nss.cc243 BYTE key_usage; in ClientCertFindCallback() local
245 &key_usage, 1)) { in ClientCertFindCallback()
246 if (!(key_usage & CERT_DIGITAL_SIGNATURE_KEY_USAGE)) in ClientCertFindCallback()
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dpkcs12.h253 int key_usage, int iter,
/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/openssl/openssl/crypto/objects/
Dobj_mac.num84 key_usage 83