Lines Matching defs:X509Certificate

38 const X509Certificate::Format kFormatDecodePriority[] = {
39 X509Certificate::FORMAT_SINGLE_CERTIFICATE,
40 X509Certificate::FORMAT_PKCS7
73 void InsertOrUpdate(X509Certificate::OSCertHandle* cert_handle);
80 void Remove(X509Certificate::OSCertHandle cert_handle);
89 X509Certificate::OSCertHandle cert_handle;
118 X509Certificate::OSCertHandle* cert_handle) {
121 X509Certificate::CalculateFingerprint(*cert_handle);
123 X509Certificate::OSCertHandle old_handle = NULL;
137 X509Certificate::IsSameOSCert(*cert_handle, pos->second.cert_handle);
152 *cert_handle = X509Certificate::DupOSCertHandle(pos->second.cert_handle);
160 X509Certificate::FreeOSCertHandle(old_handle);
167 void X509CertificateCache::Remove(X509Certificate::OSCertHandle cert_handle) {
169 X509Certificate::CalculateFingerprint(cert_handle);
176 bool is_same_cert = X509Certificate::IsSameOSCert(cert_handle,
185 X509Certificate::FreeOSCertHandle(pos->second.cert_handle);
193 void InsertOrUpdateCache(X509Certificate::OSCertHandle* cert_handle) {
200 void RemoveFromCache(X509Certificate::OSCertHandle cert_handle) {
225 bool X509Certificate::LessThan::operator()(
226 const scoped_refptr<X509Certificate>& lhs,
227 const scoped_refptr<X509Certificate>& rhs) const {
241 X509Certificate::X509Certificate(const std::string& subject,
255 X509Certificate* X509Certificate::CreateFromHandle(
259 return new X509Certificate(cert_handle, intermediates);
263 X509Certificate* X509Certificate::CreateFromDERCertChain(
268 X509Certificate::OSCertHandles intermediate_ca_certs;
284 X509Certificate* cert = NULL;
297 X509Certificate* X509Certificate::CreateFromBytes(const char* data,
303 X509Certificate* cert = CreateFromHandle(cert_handle, OSCertHandles());
309 X509Certificate* X509Certificate::CreateFromPickle(const Pickle& pickle,
384 X509Certificate* cert = NULL;
395 CertificateList X509Certificate::CreateCertificateListFromBytes(
463 X509Certificate* result = CreateFromHandle(*it, OSCertHandles());
464 results.push_back(scoped_refptr<X509Certificate>(result));
471 void X509Certificate::Persist(Pickle* pickle) {
492 void X509Certificate::GetDNSNames(std::vector<std::string>* dns_names) const {
498 bool X509Certificate::HasExpired() const {
502 bool X509Certificate::Equals(const X509Certificate* other) const {
507 bool X509Certificate::VerifyHostname(
657 bool X509Certificate::VerifyNameMatch(const std::string& hostname,
666 bool X509Certificate::GetPEMEncodedFromDER(const std::string& der_encoded,
688 bool X509Certificate::GetPEMEncoded(OSCertHandle cert_handle,
696 bool X509Certificate::GetPEMEncodedChain(
713 SHA256HashValue X509Certificate::CalculateCAFingerprint256(
733 SHA256HashValue X509Certificate::CalculateChainFingerprint256(
743 X509Certificate::X509Certificate(OSCertHandle cert_handle,
760 X509Certificate::~X509Certificate() {