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_BASE_SERVER_BOUND_CERT_STORE_H_ | 5 #ifndef NET_SSL_SERVER_BOUND_CERT_STORE_H_ |
6 #define NET_BASE_SERVER_BOUND_CERT_STORE_H_ | 6 #define NET_SSL_SERVER_BOUND_CERT_STORE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
15 #include "net/base/ssl_client_cert_type.h" | 15 #include "net/ssl/ssl_client_cert_type.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 // An interface for storing and retrieving server bound certs. | 19 // An interface for storing and retrieving server bound certs. |
20 // There isn't a domain bound certs spec yet, but the old origin bound | 20 // There isn't a domain bound certs spec yet, but the old origin bound |
21 // certificates are specified in | 21 // certificates are specified in |
22 // http://balfanz.github.com/tls-obc-spec/draft-balfanz-tls-obc-01.html. | 22 // http://balfanz.github.com/tls-obc-spec/draft-balfanz-tls-obc-01.html. |
23 | 23 |
24 // Owned only by a single ServerBoundCertService object, which is responsible | 24 // Owned only by a single ServerBoundCertService object, which is responsible |
25 // for deleting it. | 25 // for deleting it. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // Public only for unit testing. | 128 // Public only for unit testing. |
129 virtual int GetCertCount() = 0; | 129 virtual int GetCertCount() = 0; |
130 | 130 |
131 // When invoked, instructs the store to keep session related data on | 131 // When invoked, instructs the store to keep session related data on |
132 // destruction. | 132 // destruction. |
133 virtual void SetForceKeepSessionState() = 0; | 133 virtual void SetForceKeepSessionState() = 0; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace net | 136 } // namespace net |
137 | 137 |
138 #endif // NET_BASE_SERVER_BOUND_CERT_STORE_H_ | 138 #endif // NET_SSL_SERVER_BOUND_CERT_STORE_H_ |
OLD | NEW |