Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: webrtc/api/test/fakertccertificategenerator.h

Issue 2034013003: Remove DtlsIdentityStoreInterface, it is no longer used. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with master Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/peerconnectionfactory_unittest.cc ('k') | webrtc/api/webrtcsession_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_API_TEST_FAKERTCCERTIFICATEGENERATOR_H_ 11 #ifndef WEBRTC_API_TEST_FAKERTCCERTIFICATEGENERATOR_H_
12 #define WEBRTC_API_TEST_FAKERTCCERTIFICATEGENERATOR_H_ 12 #define WEBRTC_API_TEST_FAKERTCCERTIFICATEGENERATOR_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <utility> 16 #include <utility>
17 17
18 #include "webrtc/api/dtlsidentitystore.h"
19 #include "webrtc/api/peerconnectioninterface.h" 18 #include "webrtc/api/peerconnectioninterface.h"
20 #include "webrtc/base/rtccertificate.h" 19 #include "webrtc/base/rtccertificate.h"
20 #include "webrtc/base/rtccertificategenerator.h"
21 21
22 // RSA with mod size 1024, pub exp 0x10001. 22 // RSA with mod size 1024, pub exp 0x10001.
23 static const rtc::RTCCertificatePEM kRsaPems[] = { 23 static const rtc::RTCCertificatePEM kRsaPems[] = {
24 rtc::RTCCertificatePEM( 24 rtc::RTCCertificatePEM(
25 "-----BEGIN RSA PRIVATE KEY-----\n" 25 "-----BEGIN RSA PRIVATE KEY-----\n"
26 "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMYRkbhmI7kVA/rM\n" 26 "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMYRkbhmI7kVA/rM\n"
27 "czsZ+6JDhDvnkF+vn6yCAGuRPV03zuRqZtDy4N4to7PZu9PjqrRl7nDMXrG3YG9y\n" 27 "czsZ+6JDhDvnkF+vn6yCAGuRPV03zuRqZtDy4N4to7PZu9PjqrRl7nDMXrG3YG9y\n"
28 "rlIAZ72KjcKKFAJxQyAKLCIdawKRyp8RdK3LEySWEZb0AV58IadqPZDTNHHRX8dz\n" 28 "rlIAZ72KjcKKFAJxQyAKLCIdawKRyp8RdK3LEySWEZb0AV58IadqPZDTNHHRX8dz\n"
29 "5aTSMsbbkZ+C/OzTnbiMqLL/vg6jAgMBAAECgYAvgOs4FJcgvp+TuREx7YtiYVsH\n" 29 "5aTSMsbbkZ+C/OzTnbiMqLL/vg6jAgMBAAECgYAvgOs4FJcgvp+TuREx7YtiYVsH\n"
30 "mwQPTum2z/8VzWGwR8BBHBvIpVe1MbD/Y4seyI2aco/7UaisatSgJhsU46/9Y4fq\n" 30 "mwQPTum2z/8VzWGwR8BBHBvIpVe1MbD/Y4seyI2aco/7UaisatSgJhsU46/9Y4fq\n"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 break; 218 break;
219 } 219 }
220 delete message_data; 220 delete message_data;
221 } 221 }
222 222
223 bool should_fail_; 223 bool should_fail_;
224 int key_index_ = 0; 224 int key_index_ = 0;
225 }; 225 };
226 226
227 #endif // WEBRTC_API_TEST_FAKERTCCERTIFICATEGENERATOR_H_ 227 #endif // WEBRTC_API_TEST_FAKERTCCERTIFICATEGENERATOR_H_
OLDNEW
« no previous file with comments | « webrtc/api/peerconnectionfactory_unittest.cc ('k') | webrtc/api/webrtcsession_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698