• Home
  • Raw
  • Download

Lines Matching refs:X509Certificate

40 const X509Certificate::Format kFormatDecodePriority[] = {
41 X509Certificate::FORMAT_SINGLE_CERTIFICATE,
42 X509Certificate::FORMAT_PKCS7
60 void Insert(X509Certificate* cert);
61 scoped_refptr<X509Certificate> Find(const SHA1Fingerprint& fingerprint);
64 typedef std::map<SHA1Fingerprint, scoped_refptr<X509Certificate>, SHA1FingerprintLessThan>
88 void X509CertificateCache::Insert(X509Certificate* cert) { in Insert()
115 scoped_refptr<X509Certificate> X509CertificateCache::Find( in Find()
134 bool X509Certificate::LessThan::operator()(X509Certificate* lhs, in operator ()()
135 X509Certificate* rhs) const { in operator ()()
143 X509Certificate::X509Certificate(const std::string& subject, in X509Certificate() function in net::X509Certificate
157 scoped_refptr<X509Certificate> X509Certificate::CreateFromHandle( in CreateFromHandle()
166 scoped_refptr<X509Certificate> cached_cert = in CreateFromHandle()
181 scoped_refptr<X509Certificate> cert = new X509Certificate(cert_handle, source, in CreateFromHandle()
188 static X509Certificate::OSCertHandle CreateOSCert(base::StringPiece der_cert) { in CreateOSCert()
189 X509Certificate::OSCertHandle cert_handle = NULL; in CreateOSCert()
191 X509Certificate::cert_store(), X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, in CreateOSCert()
197 static X509Certificate::OSCertHandle CreateOSCert(base::StringPiece der_cert) { in CreateOSCert()
198 return X509Certificate::CreateOSCertHandleFromBytes( in CreateOSCert()
204 scoped_refptr<X509Certificate> X509Certificate::CreateFromDERCertChain( in CreateFromDERCertChain()
209 X509Certificate::OSCertHandles intermediate_ca_certs; in CreateFromDERCertChain()
218 scoped_refptr<X509Certificate> cert = in CreateFromDERCertChain()
228 scoped_refptr<X509Certificate> X509Certificate::CreateFromBytes(const char* data, in CreateFromBytes()
234 scoped_refptr<X509Certificate> cert = CreateFromHandle(cert_handle, in CreateFromBytes()
242 scoped_refptr<X509Certificate> X509Certificate::CreateFromPickle(const Pickle& pickle, in CreateFromPickle()
277 scoped_refptr<X509Certificate> cert = CreateFromHandle(cert_handle, SOURCE_FROM_CACHE, in CreateFromPickle()
287 CertificateList X509Certificate::CreateCertificateListFromBytes( in CreateCertificateListFromBytes()
355 scoped_refptr<X509Certificate> result = CreateFromHandle(*it, SOURCE_LONE_CERT_IMPORT, in CreateCertificateListFromBytes()
357 results.push_back(scoped_refptr<X509Certificate>(result)); in CreateCertificateListFromBytes()
364 void X509Certificate::Persist(Pickle* pickle) { in Persist()
384 bool X509Certificate::HasExpired() const { in HasExpired()
388 bool X509Certificate::Equals(const X509Certificate* other) const { in Equals()
392 bool X509Certificate::HasIntermediateCertificate(OSCertHandle cert) { in HasIntermediateCertificate()
400 bool X509Certificate::HasIntermediateCertificates(const OSCertHandles& certs) { in HasIntermediateCertificates()
409 bool X509Certificate::VerifyHostname( in VerifyHostname()
527 bool X509Certificate::VerifyNameMatch(const std::string& hostname) const { in VerifyNameMatch()
534 X509Certificate::X509Certificate(OSCertHandle cert_handle, in X509Certificate() function in net::X509Certificate
546 X509Certificate::~X509Certificate() { in ~X509Certificate()
554 bool X509Certificate::IsBlacklisted() const { in IsBlacklisted()
870 bool X509Certificate::IsPublicKeyBlacklisted( in IsPublicKeyBlacklisted()
900 bool X509Certificate::IsSHA1HashInSortedArray(const SHA1Fingerprint& hash, in IsSHA1HashInSortedArray()