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 #include "net/base/server_bound_cert_service.h" | 5 #include "net/ssl/server_bound_cert_service.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/threading/sequenced_worker_pool.h" | 13 #include "base/threading/sequenced_worker_pool.h" |
14 #include "crypto/ec_private_key.h" | 14 #include "crypto/ec_private_key.h" |
15 #include "net/base/asn1_util.h" | 15 #include "net/base/asn1_util.h" |
16 #include "net/base/default_server_bound_cert_store.h" | |
17 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
18 #include "net/base/test_completion_callback.h" | 17 #include "net/base/test_completion_callback.h" |
19 #include "net/base/x509_certificate.h" | 18 #include "net/base/x509_certificate.h" |
| 19 #include "net/ssl/default_server_bound_cert_store.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 void FailTest(int /* result */) { | 26 void FailTest(int /* result */) { |
27 FAIL(); | 27 FAIL(); |
28 } | 28 } |
29 | 29 |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 EXPECT_EQ(CLIENT_CERT_ECDSA_SIGN, type2); | 555 EXPECT_EQ(CLIENT_CERT_ECDSA_SIGN, type2); |
556 EXPECT_LT(1U, private_key_info2.size()); | 556 EXPECT_LT(1U, private_key_info2.size()); |
557 EXPECT_LT(1U, der_cert2.size()); | 557 EXPECT_LT(1U, der_cert2.size()); |
558 } | 558 } |
559 | 559 |
560 #endif // !defined(USE_OPENSSL) | 560 #endif // !defined(USE_OPENSSL) |
561 | 561 |
562 } // namespace | 562 } // namespace |
563 | 563 |
564 } // namespace net | 564 } // namespace net |
OLD | NEW |