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

  /external/chromium_org/net/cert/
cert_verify_proc_android.cc 57 X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); local
63 if (cert_handles.empty() || cert_handles[0] != cert_handle)
64 cert_handles.insert(cert_handles.begin(), cert_handle);
test_root_certs_nss.cc 57 CERTCertificate* cert_handle = nss_certificate.cert_handle(); local
59 CERTCertificate* cert_handle = certificate->os_cert_handle();
64 SECStatus rv = CERT_GetCertTrust(cert_handle, &original_trust);
83 rv = CERT_ChangeCertTrust(CERT_GetDefaultCertDB(), cert_handle, &new_trust);
89 trust_cache_.push_back(new TrustEntry(cert_handle, original_trust));
x509_certificate_ios.cc 43 // Returns true if a given |cert_handle| is actually a valid X.509 certificate
52 bool IsValidOSCertHandle(SecCertificateRef cert_handle) {
54 SecCertificateCopySubjectSummary(cert_handle));
61 CERTCertificate* cert_handle = nss_cert.cert_handle(); local
62 if (cert_handle) {
63 x509_util::ParsePrincipal(&cert_handle->subject, &subject_);
64 x509_util::ParsePrincipal(&cert_handle->issuer, &issuer_);
65 x509_util::ParseDate(&cert_handle->validity.notBefore, &valid_start_);
66 x509_util::ParseDate(&cert_handle->validity.notAfter, &valid_expiry_)
92 CERTCertificate* cert_handle = nss_cert.cert_handle(); local
    [all...]
x509_util_ios.cc 49 SecCertificateRef cert_handle) {
50 ScopedCFTypeRef<CFDataRef> cert_data(SecCertificateCopyData(cert_handle));
64 CERTCertificate* cert_handle,
67 CreateOSCertHandleFromNSSHandle(cert_handle));
101 NSSCertificate::NSSCertificate(SecCertificateRef cert_handle) {
102 nss_cert_handle_ = CreateNSSCertHandleFromOSHandle(cert_handle);
103 DLOG_IF(INFO, cert_handle && !nss_cert_handle_)
111 CERTCertificate* NSSCertificate::cert_handle() const { function in class:net::x509_util_ios::NSSCertificate
132 CERTCertificate* NSSCertChain::cert_handle() const { function in class:net::x509_util_ios::NSSCertChain
x509_certificate_nss.cc 46 OSCertHandle cert_handle = CreateOSCertHandleFromBytesWithNickname(data, local
49 if (!cert_handle)
52 X509Certificate* cert = CreateFromHandle(cert_handle, OSCertHandles());
53 FreeOSCertHandle(cert_handle);
142 bool X509Certificate::GetDEREncoded(X509Certificate::OSCertHandle cert_handle,
144 if (!cert_handle->derCert.len)
146 encoded->assign(reinterpret_cast<char*>(cert_handle->derCert.data),
147 cert_handle->derCert.len);
202 OSCertHandle cert_handle) {
203 return CERT_DupCertificate(cert_handle);
    [all...]
x509_certificate_win.cc 235 bool X509Certificate::GetDEREncoded(X509Certificate::OSCertHandle cert_handle,
237 if (!cert_handle->pbCertEncoded || !cert_handle->cbCertEncoded)
239 encoded->assign(reinterpret_cast<char*>(cert_handle->pbCertEncoded),
240 cert_handle->cbCertEncoded);
257 OSCertHandle cert_handle = NULL; local
260 length, CERT_STORE_ADD_USE_EXISTING, &cert_handle))
263 return cert_handle;
289 OSCertHandle cert_handle) {
290 return CertDuplicateCertificateContext(cert_handle);
    [all...]
x509_util_nss.cc 299 void* cert_handle; local
300 if ((cert_handle = CERT_StartCertExtensions(cert)) == NULL) {
326 cert_handle,
337 if (CERT_FinishExtensions(cert_handle) != SECSuccess){
433 void GetSubjectAltName(CERTCertificate* cert_handle,
442 SECStatus rv = CERT_FindCertExtension(cert_handle,
cert_verify_proc_win.cc 550 PCCERT_CONTEXT cert_handle = cert->os_cert_handle(); local
551 if (!cert_handle)
576 GetCertPoliciesInfo(cert_handle, &policies_info);
721 if (CertSubjectCommonNameHasNull(cert_handle))
x509_certificate.cc 63 // for the same certificate data as |*cert_handle| already exists in the
64 // cache, the original |*cert_handle| will be freed and |cert_handle|
68 // reference to |*cert_handle| will be added to the cache. In either case,
69 // upon return, the caller fully owns |*cert_handle| and is responsible for
71 void InsertOrUpdate(X509Certificate::OSCertHandle* cert_handle);
73 // Decrements the cache reference count for |cert_handle|, a handle that was
76 // caller retains ownership of |cert_handle| and remains responsible for
78 void Remove(X509Certificate::OSCertHandle cert_handle);
85 Entry() : cert_handle(NULL), ref_count(0) {
87 X509Certificate::OSCertHandle cert_handle; member in struct:net::__anon11001::X509CertificateCache::Entry
295 OSCertHandle cert_handle = CreateOSCertHandleFromBytes(data, length); local
327 OSCertHandle cert_handle = ReadOSCertHandleFromPickle(pickle_iter); local
    [all...]
x509_certificate_mac.cc 49 bool IsCertIssuerInEncodedList(X509Certificate::OSCertHandle cert_handle,
52 if (cached_cert.Init(cert_handle) != CSSM_OK)
129 // Test that a given |cert_handle| is actually a valid X.509 certificate, and
140 bool IsValidOSCertHandle(SecCertificateRef cert_handle) {
142 OSStatus status = SecCertificateGetSubject(cert_handle, &sanity_check);
370 bool X509Certificate::GetDEREncoded(X509Certificate::OSCertHandle cert_handle,
373 if (SecCertificateGetData(cert_handle, &der_data) != noErr)
402 OSCertHandle cert_handle = NULL; local
406 &cert_handle);
409 if (!IsValidOSCertHandle(cert_handle)) {
    [all...]
cert_verify_proc_nss.cc 337 CERTCertificate* cert_handle, int num_policy_oids,
340 SECOidTag GetFirstCertPolicy(CERTCertificate* cert_handle);
342 // Call CERT_PKIXVerifyCert for the cert_handle.
355 SECStatus PKIXVerifyCert(CERTCertificate* cert_handle,
454 SECStatus rv = CERT_PKIXVerifyCert(cert_handle, certificateUsageSSLServer,
457 rv = RetryPKIXVerifyCertWithWorkarounds(cert_handle, num_policy_oids,
467 CERTCertificate* cert_handle, int num_policy_oids,
495 rv = CERT_PKIXVerifyCert(cert_handle, certificateUsageSSLServer,
521 SECOidTag policy = GetFirstCertPolicy(cert_handle);
531 rv = CERT_PKIXVerifyCert(cert_handle, certificateUsageSSLServer
761 CERTCertificate* cert_handle = scoped_chain.cert_handle(); local
    [all...]
  /external/chromium_org/net/ssl/
client_cert_store_impl_mac.cc 37 OSStatus CopyCertChain(SecCertificateRef cert_handle,
39 DCHECK(cert_handle);
51 NULL, const_cast<const void**>(reinterpret_cast<void**>(&cert_handle)),
88 X509Certificate::OSCertHandle cert_handle = (*cert)->os_cert_handle(); local
90 OSStatus result = CopyCertChain(cert_handle, &cert_chain);
108 cert_handle, intermediates));
221 SecCertificateRef cert_handle; local
222 err = SecIdentityCopyCertificate(identity, &cert_handle);
225 ScopedCFTypeRef<SecCertificateRef> scoped_cert_handle(cert_handle);
228 X509Certificate::CreateFromHandle(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.cc 158 OSCertHandle cert_handle,
161 DCHECK(cert_handle);
167 cache->Find(CalculateFingerprint(cert_handle));
181 scoped_refptr<X509Certificate> cert = new X509Certificate(cert_handle, source,
189 X509Certificate::OSCertHandle cert_handle = NULL; local
193 CERT_STORE_ADD_USE_EXISTING, &cert_handle);
194 return ok ? cert_handle : NULL;
230 OSCertHandle cert_handle = CreateOSCertHandleFromBytes(data, length); local
231 if (!cert_handle)
234 scoped_refptr<X509Certificate> cert = CreateFromHandle(cert_handle,
245 OSCertHandle cert_handle = ReadCertHandleFromPickle(pickle, pickle_iter); local
    [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_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...]
  /external/chromium_org/chrome/browser/chromeos/cros/
cert_library.cc 198 net::X509Certificate::OSCertHandle cert_handle = cert->os_cert_handle(); local
199 std::string id = x509_certificate_model::GetPkcs11Id(cert_handle);
219 net::X509Certificate::OSCertHandle cert_handle = local
221 net::CertType type = x509_certificate_model::GetType(cert_handle);
232 x509_certificate_model::GetTokenName(cert_handle);
  /external/chromium_org/chromeos/
cert_loader.cc 252 CERTCertificateStr* cert_handle = cert.os_cert_handle(); local
254 PK11_FindKeyByAnyCert(cert_handle, NULL /* wincx */);

Completed in 133 milliseconds