Home
last modified time | relevance | path

Searched refs:KeyParams (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/rtc_base/
Dssl_identity.cc111 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 …]
Dssl_identity.h53 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);
Drtc_certificate_generator_unittest.cc82 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()
Dssl_stream_adapter_unittest.cc294 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 …]
Drtc_certificate_generator.h48 const KeyParams& key_params,
66 const KeyParams& key_params,
78 const KeyParams& key_params,
Drtc_certificate_generator.cc48 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()
Dssl_adapter_unittest.cc164 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()
Dopenssl_identity.h36 static OpenSSLKeyPair* Generate(const KeyParams& key_params);
65 const KeyParams& key_params,
Drtc_certificate_unittest.cc36 SSLIdentity::Create(kTestCertCommonName, KeyParams::ECDSA())); in GenerateECDSA()
79 params.key_params = KeyParams::ECDSA(); in GenerateCertificateWithExpires()
Dopenssl_identity.cc42 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()
Dssl_identity_unittest.cc582 rtc::KeyParams key_params = rtc::KeyParams::ECDSA(rtc::EC_NIST_P256); in TestExpireTime()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCCertificate.mm49 cc_certificate = rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams(keyType),
53 rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams(keyType), absl::nullopt);
DRTCConfiguration.mm226 rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams(keyType),
/external/webrtc/sdk/android/src/jni/pc/
Drtc_certificate.cc51 rtc::KeyParams(key_type), expires); in JNI_RtcCertificatePem_GenerateCertificate()
Dpeer_connection_factory.cc459 rtc::KeyParams(key_type), absl::nullopt); in JNI_PeerConnectionFactory_CreatePeerConnection()
/external/webrtc/pc/test/
Dfake_rtc_certificate_generator.h142 const rtc::KeyParams& key_params, in GenerateCertificateAsync()
/external/webrtc/pc/
Dwebrtc_session_description_factory.cc178 rtc::KeyParams key_params = rtc::KeyParams(); in WebRtcSessionDescriptionFactory()
/external/webrtc/p2p/base/
Dtest_turn_server.h112 rtc::SSLIdentity::Create(common_name, rtc::KeyParams()));