x509_util 64 chrome/browser/chromeos/attestation/fake_certificate.cc return net::x509_util::CreateSelfSignedCert(test_key.get(), x509_util 65 chrome/browser/chromeos/attestation/fake_certificate.cc net::x509_util::DIGEST_SHA256, x509_util 15 chrome/common/net/x509_certificate_model_openssl.cc namespace x509_util = net::x509_util; x509_util 30 chrome/common/net/x509_certificate_model_openssl.cc if (!x509_util::ParsePrincipalKeyAndValueByIndex(name, i, &key, &value)) x509_util 102 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParsePrincipalValueByNID(X509_get_issuer_name(cert_handle), x509_util 111 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParsePrincipalValueByNID(X509_get_issuer_name(cert_handle), x509_util 120 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParsePrincipalValueByNID(X509_get_issuer_name(cert_handle), x509_util 129 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParsePrincipalValueByNID(X509_get_subject_name(cert_handle), x509_util 138 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParsePrincipalValueByNID(X509_get_subject_name(cert_handle), x509_util 146 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParsePrincipalValueByNID(X509_get_subject_name(cert_handle), x509_util 153 chrome/common/net/x509_certificate_model_openssl.cc return x509_util::ParseDate(X509_get_notBefore(cert_handle), issued) && x509_util 154 chrome/common/net/x509_certificate_model_openssl.cc x509_util::ParseDate(X509_get_notAfter(cert_handle), expires); x509_util 44 content/browser/media/webrtc_identity_store.cc bool success = net::x509_util::CreateKeyAndSelfSignedCert( x509_util 87 net/cert/cert_database_nss.cc std::string nickname = x509_util::GetUniqueNicknameForSlot( x509_util 158 net/cert/cert_verify_proc_mac.cc OSStatus status = x509_util::CreateSSLServerPolicy(hostname, &ssl_policy); x509_util 167 net/cert/cert_verify_proc_mac.cc status = x509_util::CreateRevocationPolicies( x509_util 205 net/cert/cert_verify_proc_mac.cc x509_util::CSSMCachedCertificate cached_cert; x509_util 209 net/cert/cert_verify_proc_mac.cc x509_util::CSSMFieldValue signature_field; x509_util 291 net/cert/cert_verify_proc_mac.cc x509_util::CSSMCachedCertificate cached_cert; x509_util 296 net/cert/cert_verify_proc_mac.cc x509_util::CSSMFieldValue serial_number; x509_util 63 net/cert/x509_certificate_ios.cc x509_util::ParsePrincipal(&cert_handle->subject, &subject_); x509_util 64 net/cert/x509_certificate_ios.cc x509_util::ParsePrincipal(&cert_handle->issuer, &issuer_); x509_util 65 net/cert/x509_certificate_ios.cc x509_util::ParseDate(&cert_handle->validity.notBefore, &valid_start_); x509_util 66 net/cert/x509_certificate_ios.cc x509_util::ParseDate(&cert_handle->validity.notAfter, &valid_expiry_); x509_util 67 net/cert/x509_certificate_ios.cc serial_number_ = x509_util::ParseSerialNumber(cert_handle); x509_util 79 net/cert/x509_certificate_ios.cc if (!x509_util::GetIssuersFromEncodedList(valid_issuers, x509_util 84 net/cert/x509_certificate_ios.cc return x509_util::IsCertificateIssuedBy( x509_util 100 net/cert/x509_certificate_ios.cc x509_util::GetSubjectAltName(cert_handle, dns_names, ip_addrs); x509_util 153 net/cert/x509_certificate_ios.cc return x509_util::CreateOSCertHandlesFromBytes(data, length, format); x509_util 211 net/cert/x509_certificate_ios.cc return x509_util::ReadOSCertHandleFromPickle(pickle_iter); x509_util 231 net/cert/x509_certificate_ios.cc x509_util::GetPublicKeyInfo(nss_cert.cert_handle(), size_bits, type); x509_util 35 net/cert/x509_certificate_mac.cc const x509_util::CSSMCachedCertificate& cached_cert, x509_util 38 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue distinguished_name; x509_util 48 net/cert/x509_certificate_mac.cc x509_util::CSSMCachedCertificate cached_cert; x509_util 52 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue distinguished_name; x509_util 72 net/cert/x509_certificate_mac.cc void GetCertDateForOID(const x509_util::CSSMCachedCertificate& cached_cert, x509_util 77 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue field; x509_util 100 net/cert/x509_certificate_mac.cc const x509_util::CSSMCachedCertificate& cached_cert) { x509_util 101 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue serial_number; x509_util 202 net/cert/x509_certificate_mac.cc x509_util::CSSMCachedCertificate cached_cert; x509_util 240 net/cert/x509_certificate_mac.cc x509_util::CSSMCachedCertificate cached_cert; x509_util 244 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue subject_alt_name; x509_util 398 net/cert/x509_certificate_mac.cc x509_util::CSSMCachedCertificate cached_cert; x509_util 412 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue key_usage; x509_util 29 net/cert/x509_certificate_nss.cc x509_util::ParsePrincipal(&cert_handle_->subject, &subject_); x509_util 30 net/cert/x509_certificate_nss.cc x509_util::ParsePrincipal(&cert_handle_->issuer, &issuer_); x509_util 32 net/cert/x509_certificate_nss.cc x509_util::ParseDate(&cert_handle_->validity.notBefore, &valid_start_); x509_util 33 net/cert/x509_certificate_nss.cc x509_util::ParseDate(&cert_handle_->validity.notAfter, &valid_expiry_); x509_util 38 net/cert/x509_certificate_nss.cc serial_number_ = x509_util::ParseSerialNumber(cert_handle_); x509_util 119 net/cert/x509_certificate_nss.cc x509_util::GetSubjectAltName(cert_handle_, dns_names, ip_addrs); x509_util 133 net/cert/x509_certificate_nss.cc if (!x509_util::GetIssuersFromEncodedList(valid_issuers, x509_util 138 net/cert/x509_certificate_nss.cc return x509_util::IsCertificateIssuedBy(cert_chain, issuers); x509_util 197 net/cert/x509_certificate_nss.cc return x509_util::CreateOSCertHandlesFromBytes(data, length, format); x509_util 251 net/cert/x509_certificate_nss.cc return x509_util::ReadOSCertHandleFromPickle(pickle_iter); x509_util 266 net/cert/x509_certificate_nss.cc x509_util::GetPublicKeyInfo(cert_handle, size_bits, type); x509_util 68 net/cert/x509_certificate_openssl.cc if (!x509_util::ParsePrincipalValueByIndex(name, index, &field)) x509_util 89 net/cert/x509_certificate_openssl.cc x509_util::ParsePrincipalValueByNID(x509_name, NID_commonName, x509_util 91 net/cert/x509_certificate_openssl.cc x509_util::ParsePrincipalValueByNID(x509_name, NID_localityName, x509_util 93 net/cert/x509_certificate_openssl.cc x509_util::ParsePrincipalValueByNID(x509_name, NID_stateOrProvinceName, x509_util 95 net/cert/x509_certificate_openssl.cc x509_util::ParsePrincipalValueByNID(x509_name, NID_countryName, x509_util 286 net/cert/x509_certificate_openssl.cc x509_util::ParseDate(X509_get_notBefore(cert_handle_), &valid_start_); x509_util 287 net/cert/x509_certificate_openssl.cc x509_util::ParseDate(X509_get_notAfter(cert_handle_), &valid_expiry_); x509_util 24 net/cert/x509_util.h namespace x509_util { x509_util 18 net/cert/x509_util_mac.h namespace x509_util { x509_util 137 net/cert/x509_util_nss.cc SECOidTag ToSECOid(x509_util::DigestAlgorithm alg) { x509_util 139 net/cert/x509_util_nss.cc case x509_util::DIGEST_SHA1: x509_util 141 net/cert/x509_util_nss.cc case x509_util::DIGEST_SHA256: x509_util 25 net/cert/x509_util_nss.h namespace x509_util { x509_util 153 net/cert/x509_util_nss_unittest.cc ASSERT_TRUE(x509_util::CreateKeyAndDomainBoundCertEC( x509_util 23 net/cert/x509_util_openssl.cc const EVP_MD* ToEVP(x509_util::DigestAlgorithm alg) { x509_util 25 net/cert/x509_util_openssl.cc case x509_util::DIGEST_SHA1: x509_util 27 net/cert/x509_util_openssl.cc case x509_util::DIGEST_SHA256: x509_util 24 net/cert/x509_util_openssl.h namespace x509_util { x509_util 92 net/cert/x509_util_openssl_unittest.cc EXPECT_TRUE(x509_util::IsSupportedValidityRange(now, now)); x509_util 93 net/cert/x509_util_openssl_unittest.cc EXPECT_FALSE(x509_util::IsSupportedValidityRange( x509_util 108 net/cert/x509_util_openssl_unittest.cc EXPECT_FALSE(x509_util::IsSupportedValidityRange(too_old, too_old)); x509_util 109 net/cert/x509_util_openssl_unittest.cc EXPECT_FALSE(x509_util::IsSupportedValidityRange(too_old, now)); x509_util 111 net/cert/x509_util_openssl_unittest.cc EXPECT_FALSE(x509_util::IsSupportedValidityRange(now, too_late)); x509_util 112 net/cert/x509_util_openssl_unittest.cc EXPECT_FALSE(x509_util::IsSupportedValidityRange(too_late, too_late)); x509_util 124 net/cert/x509_util_openssl_unittest.cc x509_util::CreateDomainBoundCertEC(private_key.get(), x509_util 125 net/cert/x509_util_openssl_unittest.cc x509_util::DIGEST_SHA1, x509_util 61 net/cert/x509_util_unittest.cc ASSERT_TRUE(x509_util::CreateKeyAndSelfSignedCert( x509_util 174 net/cert/x509_util_unittest.cc ASSERT_TRUE(x509_util::CreateSelfSignedCert( x509_util 176 net/cert/x509_util_unittest.cc x509_util::DIGEST_SHA1, x509_util 45 net/ssl/client_cert_store_mac.cc OSStatus result = x509_util::CreateSSLClientPolicy(&ssl_policy); x509_util 170 net/ssl/client_cert_store_mac.cc sort(sort_begin, sort_end, x509_util::ClientCertSorter()); x509_util 113 net/ssl/client_cert_store_nss.cc x509_util::ClientCertSorter()); x509_util 141 net/ssl/client_cert_store_win.cc x509_util::ClientCertSorter()); x509_util 102 net/ssl/server_bound_cert_service.cc if (!x509_util::CreateKeyAndDomainBoundCertEC(server_identifier, x509_util 380 net/ssl/server_bound_cert_service.cc is_system_time_valid_ = x509_util::IsSupportedValidityRange(start, end); x509_util 92 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::x509_util::GetUniqueNicknameForSlot( x509_util 152 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::x509_util::GetUniqueNicknameForSlot( x509_util 188 net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp net::x509_util::GetUniqueNicknameForSlot( x509_util 97 remoting/base/rsa_key_pair.cc net::x509_util::CreateSelfSignedCert( x509_util 99 remoting/base/rsa_key_pair.cc net::x509_util::DIGEST_SHA1,