OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_CERT_X509_CERTIFICATE_H_ | 5 #ifndef NET_CERT_X509_CERTIFICATE_H_ |
6 #define NET_CERT_X509_CERTIFICATE_H_ | 6 #define NET_CERT_X509_CERTIFICATE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <string.h> | 9 #include <string.h> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... | |
35 struct CERTCertificateStr; | 35 struct CERTCertificateStr; |
36 #endif | 36 #endif |
37 | 37 |
38 namespace base { | 38 namespace base { |
39 class Pickle; | 39 class Pickle; |
40 class PickleIterator; | 40 class PickleIterator; |
41 } | 41 } |
42 | 42 |
43 namespace net { | 43 namespace net { |
44 | 44 |
45 class CRLSet; | 45 class X509Certificate; |
Ryan Sleevi
2016/11/28 23:17:13
Let's not do this. The typedef (line 47) should be
jbriance
2016/11/29 08:40:42
I can't : X509Certificate class is used to typedef
| |
46 class CertVerifyResult; | |
47 | 46 |
48 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; | 47 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; |
49 | 48 |
50 // X509Certificate represents a X.509 certificate, which is comprised a | 49 // X509Certificate represents a X.509 certificate, which is comprised a |
51 // particular identity or end-entity certificate, such as an SSL server | 50 // particular identity or end-entity certificate, such as an SSL server |
52 // identity or an SSL client certificate, and zero or more intermediate | 51 // identity or an SSL client certificate, and zero or more intermediate |
53 // certificates that may be used to build a path to a root certificate. | 52 // certificates that may be used to build a path to a root certificate. |
54 class NET_EXPORT X509Certificate | 53 class NET_EXPORT X509Certificate |
55 : public base::RefCountedThreadSafe<X509Certificate> { | 54 : public base::RefCountedThreadSafe<X509Certificate> { |
56 public: | 55 public: |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
469 // based on the type of the certificate. | 468 // based on the type of the certificate. |
470 std::string default_nickname_; | 469 std::string default_nickname_; |
471 #endif | 470 #endif |
472 | 471 |
473 DISALLOW_COPY_AND_ASSIGN(X509Certificate); | 472 DISALLOW_COPY_AND_ASSIGN(X509Certificate); |
474 }; | 473 }; |
475 | 474 |
476 } // namespace net | 475 } // namespace net |
477 | 476 |
478 #endif // NET_CERT_X509_CERTIFICATE_H_ | 477 #endif // NET_CERT_X509_CERTIFICATE_H_ |
OLD | NEW |