/external/webrtc/rtc_base/ |
D | ssl_identity.cc | 111 KeyParams::KeyParams(KeyType key_type) { in KeyParams() function in rtc::KeyParams 125 KeyParams KeyParams::RSA(int mod_size, int pub_exp) { in RSA() 126 KeyParams kt(KT_RSA); in RSA() 133 KeyParams KeyParams::ECDSA(ECCurve curve) { in ECDSA() 134 KeyParams kt(KT_ECDSA); in ECDSA() 139 bool KeyParams::IsValid() const { in IsValid() 150 RSAParams KeyParams::rsa_params() const { in rsa_params() 155 ECCurve KeyParams::ec_curve() const { in ec_curve() 214 const KeyParams& key_param, in Create() 222 const KeyParams& key_param) { in Create() [all …]
|
D | ssl_identity.h | 53 class RTC_EXPORT KeyParams { 56 explicit KeyParams(KeyType key_type = KT_DEFAULT); 59 static KeyParams RSA(int mod_size = kRsaDefaultModSize, 63 static KeyParams ECDSA(ECCurve curve = EC_NIST_P256); 96 KeyParams key_params; 113 const KeyParams& key_param, 116 const KeyParams& key_param);
|
D | rtc_certificate_generator_unittest.cc | 82 EXPECT_TRUE(RTCCertificateGenerator::GenerateCertificate(KeyParams::ECDSA(), in TEST_F() 87 EXPECT_TRUE(RTCCertificateGenerator::GenerateCertificate(KeyParams::RSA(), in TEST_F() 93 fixture_->generator()->GenerateCertificateAsync(KeyParams::ECDSA(), in TEST_F() 113 RTCCertificateGenerator::GenerateCertificate(KeyParams::ECDSA(), 0); in TEST_F() 119 RTCCertificateGenerator::GenerateCertificate(KeyParams::ECDSA(), in TEST_F() 132 KeyParams invalid_params = KeyParams::RSA(0, 0); in TEST_F()
|
D | ssl_stream_adapter_unittest.cc | 294 rtc::KeyParams client_key_type = rtc::KeyParams(rtc::KT_DEFAULT), in SSLStreamAdapterTestBase() 295 rtc::KeyParams server_key_type = rtc::KeyParams(rtc::KT_DEFAULT)) in SSLStreamAdapterTestBase() 368 client_params.key_params = rtc::KeyParams(rtc::KT_DEFAULT); in ResetIdentitiesWithValidity() 375 server_params.key_params = rtc::KeyParams(rtc::KT_DEFAULT); in ResetIdentitiesWithValidity() 656 rtc::KeyParams client_key_type_; 657 rtc::KeyParams server_key_type_; 674 public WithParamInterface<tuple<rtc::KeyParams, rtc::KeyParams>> { 793 SSLStreamAdapterTestDTLSBase(rtc::KeyParams param1, rtc::KeyParams param2) in SSLStreamAdapterTestDTLSBase() 914 public WithParamInterface<tuple<rtc::KeyParams, rtc::KeyParams>> { 1457 Combine(Values(rtc::KeyParams::RSA(1024, 65537), [all …]
|
D | rtc_certificate_generator.h | 48 const KeyParams& key_params, 66 const KeyParams& key_params, 78 const KeyParams& key_params,
|
D | rtc_certificate_generator.cc | 48 const KeyParams& key_params, in RTCCertificateGenerationTask() 96 const KeyParams key_params_; 106 const KeyParams& key_params, in GenerateCertificate() 142 const KeyParams& key_params, in GenerateCertificateAsync()
|
D | ssl_adapter_unittest.cc | 164 const rtc::KeyParams& key_params) in SSLAdapterTestDummyServer() 298 const rtc::KeyParams& key_params) in SSLAdapterTestBase() 402 : SSLAdapterTestBase(rtc::SSL_MODE_TLS, rtc::KeyParams::RSA()) {} in SSLAdapterTestTLS_RSA() 408 : SSLAdapterTestBase(rtc::SSL_MODE_TLS, rtc::KeyParams::ECDSA()) {} in SSLAdapterTestTLS_ECDSA() 414 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::RSA()) {} in SSLAdapterTestDTLS_RSA() 420 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::ECDSA()) {} in SSLAdapterTestDTLS_ECDSA()
|
D | openssl_identity.h | 36 static OpenSSLKeyPair* Generate(const KeyParams& key_params); 65 const KeyParams& key_params,
|
D | rtc_certificate_unittest.cc | 36 SSLIdentity::Create(kTestCertCommonName, KeyParams::ECDSA())); in GenerateECDSA() 79 params.key_params = KeyParams::ECDSA(); in GenerateCertificateWithExpires()
|
D | openssl_identity.cc | 42 static EVP_PKEY* MakeKey(const KeyParams& key_params) { in MakeKey() 95 OpenSSLKeyPair* OpenSSLKeyPair::Generate(const KeyParams& key_params) { in Generate() 231 const KeyParams& key_params, in CreateWithExpiration()
|
D | ssl_identity_unittest.cc | 582 rtc::KeyParams key_params = rtc::KeyParams::ECDSA(rtc::EC_NIST_P256); in TestExpireTime()
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCCertificate.mm | 49 cc_certificate = rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams(keyType), 53 rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams(keyType), absl::nullopt);
|
D | RTCConfiguration.mm | 226 rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams(keyType),
|
/external/webrtc/sdk/android/src/jni/pc/ |
D | rtc_certificate.cc | 51 rtc::KeyParams(key_type), expires); in JNI_RtcCertificatePem_GenerateCertificate()
|
D | peer_connection_factory.cc | 459 rtc::KeyParams(key_type), absl::nullopt); in JNI_PeerConnectionFactory_CreatePeerConnection()
|
/external/webrtc/pc/test/ |
D | fake_rtc_certificate_generator.h | 142 const rtc::KeyParams& key_params, in GenerateCertificateAsync()
|
/external/webrtc/pc/ |
D | webrtc_session_description_factory.cc | 178 rtc::KeyParams key_params = rtc::KeyParams(); in WebRtcSessionDescriptionFactory()
|
/external/webrtc/p2p/base/ |
D | test_turn_server.h | 112 rtc::SSLIdentity::Create(common_name, rtc::KeyParams()));
|