HomeSort by relevance Sort by last modified time
    Searched refs:cert_handle (Results 1 - 10 of 10) sorted by null

  /external/chromium/chrome/common/net/
x509_certificate_model_openssl.cc 46 std::string GetCertNameOrNickname(X509Certificate::OSCertHandle cert_handle) {
51 std::string GetNickname(X509Certificate::OSCertHandle cert_handle) {
56 std::string GetTokenName(X509Certificate::OSCertHandle cert_handle) {
61 std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle) {
62 unsigned long version = X509_get_version(cert_handle);
78 void GetUsageStrings(X509Certificate::OSCertHandle cert_handle,
83 std::string GetKeyUsageString(X509Certificate::OSCertHandle cert_handle) {
89 X509Certificate::OSCertHandle cert_handle,
91 ASN1_INTEGER* num = X509_get_serialNumber(cert_handle);
99 X509Certificate::OSCertHandle cert_handle,
    [all...]
x509_certificate_model_nss.cc 101 string GetCertNameOrNickname(X509Certificate::OSCertHandle cert_handle) {
102 string name = ProcessIDN(Stringize(CERT_GetCommonName(&cert_handle->subject),
106 return GetNickname(cert_handle);
109 string GetNickname(X509Certificate::OSCertHandle cert_handle) {
111 if (cert_handle->nickname) {
112 name = cert_handle->nickname;
122 string GetTokenName(X509Certificate::OSCertHandle cert_handle) {
123 return psm::GetCertTokenName(cert_handle);
126 string GetVersion(X509Certificate::OSCertHandle cert_handle) {
128 if (SEC_ASN1DecodeInteger(&cert_handle->version, &version) == SECSuccess &
    [all...]
x509_certificate_model.h 21 net::X509Certificate::OSCertHandle cert_handle);
23 std::string GetNickname(net::X509Certificate::OSCertHandle cert_handle);
25 std::string GetTokenName(net::X509Certificate::OSCertHandle cert_handle);
27 std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle);
29 net::CertType GetType(net::X509Certificate::OSCertHandle cert_handle);
31 std::string GetEmailAddress(net::X509Certificate::OSCertHandle cert_handle);
34 net::X509Certificate::OSCertHandle cert_handle,
37 std::string GetKeyUsageString(net::X509Certificate::OSCertHandle cert_handle);
40 net::X509Certificate::OSCertHandle cert_handle,
44 net::X509Certificate::OSCertHandle cert_handle,
    [all...]
  /external/chromium/chrome/browser/chromeos/options/
wifi_config_model.cc 72 net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); local
73 net::CertType type = x509_certificate_model::GetType(cert_handle);
81 x509_certificate_model::GetTokenName(cert_handle);
122 net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle();
123 return x509_certificate_model::GetPkcs11Id(cert_handle);
130 net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); local
131 std::string id = x509_certificate_model::GetPkcs11Id(cert_handle);
154 net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle();
155 return x509_certificate_model::GetNickname(cert_handle);
163 net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle() local
    [all...]
  /external/chromium/net/base/
x509_certificate_nss.cc 284 void GetCertSubjectAltNamesOfType(X509Certificate::OSCertHandle cert_handle,
294 SECStatus rv = CERT_FindCertExtension(cert_handle,
326 X509Certificate::OSCertHandle cert_handle, int num_policy_oids,
328 SECOidTag GetFirstCertPolicy(X509Certificate::OSCertHandle cert_handle);
330 // Call CERT_PKIXVerifyCert for the cert_handle.
335 SECStatus PKIXVerifyCert(X509Certificate::OSCertHandle cert_handle,
361 if (strcmp(cert_handle->issuerName, kMultipleKeyCA[i]) == 0) {
444 SECStatus rv = CERT_PKIXVerifyCert(cert_handle, certificateUsageSSLServer,
447 rv = RetryPKIXVerifyCertWithWorkarounds(cert_handle, num_policy_oids,
457 X509Certificate::OSCertHandle cert_handle, int num_policy_oids
    [all...]
x509_certificate_mac.cc 143 OSStatus GetCertFields(X509Certificate::OSCertHandle cert_handle,
145 DCHECK(cert_handle);
149 OSStatus status = SecCertificateGetData(cert_handle, &cert_data);
153 status = SecCertificateGetCLHandle(cert_handle, &fields->cl_handle);
164 void GetCertGeneralNamesForOID(X509Certificate::OSCertHandle cert_handle,
174 OSStatus status = GetCertFields(cert_handle, &fields);
205 void GetCertDateForOID(X509Certificate::OSCertHandle cert_handle,
210 OSStatus status = GetCertFields(cert_handle, &fields);
237 std::string GetCertSerialNumber(X509Certificate::OSCertHandle cert_handle) {
239 OSStatus status = GetCertFields(cert_handle, &fields)
1065 OSCertHandle cert_handle = NULL; local
1185 SecCertificateRef cert_handle = reinterpret_cast<SecCertificateRef>( local
1244 SecCertificateRef cert_handle; local
    [all...]
x509_certificate.h 133 // underlying crypto library. |source| specifies where |cert_handle| comes
139 static X509Certificate* CreateFromHandle(OSCertHandle cert_handle,
343 static OSCertHandle DupOSCertHandle(OSCertHandle cert_handle);
346 static void FreeOSCertHandle(OSCertHandle cert_handle);
358 X509Certificate(OSCertHandle cert_handle, Source source,
384 static SHA1Fingerprint CalculateFingerprint(OSCertHandle cert_handle);
x509_certificate_win.cc 599 PCCERT_CONTEXT cert_handle = local
603 DCHECK(cert_handle) << "Failed to create self-signed certificate: "
605 if (!cert_handle)
608 X509Certificate* cert = CreateFromHandle(cert_handle,
611 FreeOSCertHandle(cert_handle);
951 OSCertHandle cert_handle = NULL; local
    [all...]
x509_certificate_openssl.cc 293 OSCertHandle cert_handle) {
294 DCHECK(cert_handle);
300 CRYPTO_add(&cert_handle->references, 1, CRYPTO_LOCK_X509);
301 return cert_handle;
305 void X509Certificate::FreeOSCertHandle(OSCertHandle cert_handle) {
309 X509_free(cert_handle);
536 bool X509Certificate::WriteCertHandleToPickle(OSCertHandle cert_handle,
539 if (!GetDERAndCacheIfNeeded(cert_handle, &der_cache))
x509_certificate.cc 152 OSCertHandle cert_handle,
155 DCHECK(cert_handle);
161 cache->Find(CalculateFingerprint(cert_handle));
175 X509Certificate* cert = new X509Certificate(cert_handle, source,
183 X509Certificate::OSCertHandle cert_handle = NULL; local
187 CERT_STORE_ADD_USE_EXISTING, &cert_handle);
188 return ok ? cert_handle : NULL;
224 OSCertHandle cert_handle = CreateOSCertHandleFromBytes(data, length); local
225 if (!cert_handle)
228 X509Certificate* cert = CreateFromHandle(cert_handle,
239 OSCertHandle cert_handle = ReadCertHandleFromPickle(pickle, pickle_iter); local
    [all...]

Completed in 396 milliseconds