Searched refs:cert_handle_ (Results 1 – 7 of 7) sorted by relevance
/external/chromium/net/base/ |
D | x509_certificate_win.cc | 500 DCHECK(cert_handle_); in Initialize() 501 name_size = CertNameToStr(cert_handle_->dwCertEncodingType, in Initialize() 502 &cert_handle_->pCertInfo->Subject, in Initialize() 505 name_size = CertNameToStr(cert_handle_->dwCertEncodingType, in Initialize() 506 &cert_handle_->pCertInfo->Subject, in Initialize() 509 name_size = CertNameToStr(cert_handle_->dwCertEncodingType, in Initialize() 510 &cert_handle_->pCertInfo->Issuer, in Initialize() 513 name_size = CertNameToStr(cert_handle_->dwCertEncodingType, in Initialize() 514 &cert_handle_->pCertInfo->Issuer, in Initialize() 520 valid_start_ = Time::FromFileTime(cert_handle_->pCertInfo->NotBefore); in Initialize() [all …]
|
D | x509_certificate_openssl.cc | 314 fingerprint_ = CalculateFingerprint(cert_handle_); in Initialize() 316 ASN1_INTEGER* num = X509_get_serialNumber(cert_handle_); in Initialize() 326 ParsePrincipal(cert_handle_, X509_get_subject_name(cert_handle_), &subject_); in Initialize() 327 ParsePrincipal(cert_handle_, X509_get_issuer_name(cert_handle_), &issuer_); in Initialize() 328 nxou::ParseDate(X509_get_notBefore(cert_handle_), &valid_start_); in Initialize() 329 nxou::ParseDate(X509_get_notAfter(cert_handle_), &valid_expiry_); in Initialize() 400 ParseSubjectAltNames(cert_handle_, dns_names); in GetDNSNames() 444 cert_handle_, intermediates.get()); in Verify() 497 if (!GetDERAndCacheIfNeeded(cert_handle_, &der_cache)) in GetDEREncoded() 563 if (cert_handles.empty() || cert_handles[0] != cert_handle_) in GetChainDEREncodedBytes() [all …]
|
D | x509_certificate_nss.cc | 636 ParsePrincipal(&cert_handle_->subject, &subject_); in Initialize() 637 ParsePrincipal(&cert_handle_->issuer, &issuer_); in Initialize() 639 ParseDate(&cert_handle_->validity.notBefore, &valid_start_); in Initialize() 640 ParseDate(&cert_handle_->validity.notAfter, &valid_expiry_); in Initialize() 642 fingerprint_ = CalculateFingerprint(cert_handle_); in Initialize() 645 reinterpret_cast<char*>(cert_handle_->serialNumber.data), in Initialize() 646 cert_handle_->serialNumber.len); in Initialize() 758 GetCertSubjectAltNamesOfType(cert_handle_, certDNSName, dns_names); in GetDNSNames() 775 SECStatus status = CERT_VerifyCertName(cert_handle_, hostname.c_str()); in Verify() 781 cert_handle_, PR_Now(), PR_TRUE); in Verify() [all …]
|
D | x509_certificate.cc | 151 cert_handle_(NULL), in X509Certificate() 365 DCHECK(cert_handle_); in Persist() 366 if (!WriteCertHandleToPickle(cert_handle_, pickle)) { in Persist() 389 return IsSameOSCert(cert_handle_, other->cert_handle_); in Equals() 537 : cert_handle_(DupOSCertHandle(cert_handle)), in X509Certificate() 548 if (cert_handle_) in ~X509Certificate() 549 FreeOSCertHandle(cert_handle_); in ~X509Certificate()
|
D | x509_certificate_openssl_android.cc | 30 if (cert_handles.empty() || cert_handles[0] != cert_handle_) in Verify() 31 cert_handles.insert(cert_handles.begin(), cert_handle_); in Verify()
|
D | x509_certificate_mac.cc | 605 OSStatus status = SecCertificateGetSubject(cert_handle_, &name); in Initialize() 609 status = SecCertificateGetIssuer(cert_handle_, &name); in Initialize() 613 GetCertDateForOID(cert_handle_, CSSMOID_X509V1ValidityNotBefore, in Initialize() 615 GetCertDateForOID(cert_handle_, CSSMOID_X509V1ValidityNotAfter, in Initialize() 618 fingerprint_ = CalculateFingerprint(cert_handle_); in Initialize() 619 serial_number_ = GetCertSerialNumber(cert_handle_); in Initialize() 779 GetCertGeneralNamesForOID(cert_handle_, CSSMOID_SubjectAltName, GNT_DNSName, in GetDNSNames() 810 CFArrayAppendValue(cert_array, cert_handle_); in Verify() 1027 if(SecCertificateGetData(cert_handle_, &der_data) == noErr) { in GetDEREncoded() 1136 if (GetCertFields(cert_handle_, &fields) != noErr) in SupportsSSLClientAuth() [all …]
|
D | x509_certificate.h | 328 OSCertHandle os_cert_handle() const { return cert_handle_; } in os_cert_handle() 458 OSCertHandle cert_handle_; variable
|