Lines Matching defs:X509Certificate

45 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
47 // X509Certificate represents a X.509 certificate, which is comprised a
51 class NET_EXPORT X509Certificate
52 : public base::RefCountedThreadSafe<X509Certificate> {
81 // Predicate functor used in maps when X509Certificate is used as the key.
84 bool operator()(const scoped_refptr<X509Certificate>& lhs,
85 const scoped_refptr<X509Certificate>& rhs) const;
134 // Creates a X509Certificate from the ground up. Used by tests that simulate
136 X509Certificate(const std::string& subject, const std::string& issuer,
139 // Create an X509Certificate from a handle to the certificate object in the
141 // scoped_refptr<X509Certificate>.
142 static X509Certificate* CreateFromHandle(OSCertHandle cert_handle,
145 // Create an X509Certificate from a chain of DER encoded certificates. The
149 // scoped_refptr<X509Certificate>.
150 static X509Certificate* CreateFromDERCertChain(
153 // Create an X509Certificate from the DER-encoded representation.
156 // The returned pointer must be stored in a scoped_refptr<X509Certificate>.
157 static X509Certificate* CreateFromBytes(const char* data, int length);
160 // Create an X509Certificate from the DER-encoded representation.
163 // scoped_refptr<X509Certificate>.
167 static X509Certificate* CreateFromBytesWithNickname(const char* data,
177 // Create an X509Certificate from the representation stored in the given
182 // The returned pointer must be stored in a scoped_refptr<X509Certificate>.
183 static X509Certificate* CreateFromPickle(const Pickle& pickle,
243 bool Equals(const X509Certificate* other) const;
271 // PCCERT_CONTEXT *MUST NOT* be stored in an X509Certificate, as this will
299 // Because of how X509Certificate caching is implemented, attempting to
300 // create an X509Certificate from the returned PCCERT_CONTEXT may result in
303 // be stored in an X509Certificate.
425 friend class base::RefCountedThreadSafe<X509Certificate>;
431 // Construct an X509Certificate from a handle to the certificate object
433 X509Certificate(OSCertHandle cert_handle,
436 ~X509Certificate();
450 // |cert_common_name| is the Subject CN, e.g. from X509Certificate::subject().
514 DISALLOW_COPY_AND_ASSIGN(X509Certificate);