Searched refs:KeyParams (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/webrtc/base/ |
D | sslidentity.cc | 38 KeyParams::KeyParams(KeyType key_type) { in KeyParams() function in rtc::KeyParams 52 KeyParams KeyParams::RSA(int mod_size, int pub_exp) { in RSA() 53 KeyParams kt(KT_RSA); in RSA() 60 KeyParams KeyParams::ECDSA(ECCurve curve) { in ECDSA() 61 KeyParams kt(KT_ECDSA); in ECDSA() 66 bool KeyParams::IsValid() const { in IsValid() 77 RSAParams KeyParams::rsa_params() const { in rsa_params() 82 ECCurve KeyParams::ec_curve() const { in ec_curve() 162 const KeyParams& key_params) { in Generate()
|
D | sslidentity.h | 135 class KeyParams { 138 explicit KeyParams(KeyType key_type = KT_DEFAULT); 141 static KeyParams RSA(int mod_size = kRsaDefaultModSize, 145 static KeyParams ECDSA(ECCurve curve = EC_NIST_P256); 178 KeyParams key_params; 192 const KeyParams& key_param); 195 return Generate(common_name, KeyParams(key_type)); in Generate()
|
D | sslstreamadapter_unittest.cc | 228 rtc::KeyParams client_key_type = rtc::KeyParams(rtc::KT_DEFAULT), in SSLStreamAdapterTestBase() 229 rtc::KeyParams server_key_type = rtc::KeyParams(rtc::KT_DEFAULT)) in SSLStreamAdapterTestBase() 299 client_params.key_params = rtc::KeyParams(rtc::KT_DEFAULT); in ResetIdentitiesWithValidity() 306 server_params.key_params = rtc::KeyParams(rtc::KT_DEFAULT); in ResetIdentitiesWithValidity() 518 rtc::KeyParams client_key_type_; 519 rtc::KeyParams server_key_type_; 538 public WithParamInterface<tuple<rtc::KeyParams, rtc::KeyParams>> { 658 public WithParamInterface<tuple<rtc::KeyParams, rtc::KeyParams>> { 1147 Combine(Values(rtc::KeyParams::RSA(1024, 65537), 1148 rtc::KeyParams::RSA(1152, 65537), [all …]
|
D | ssladapter_unittest.cc | 134 const rtc::KeyParams& key_params) in SSLAdapterTestDummyServer() 274 const rtc::KeyParams& key_params) in SSLAdapterTestBase() 351 : SSLAdapterTestBase(rtc::SSL_MODE_TLS, rtc::KeyParams::RSA()) {} in SSLAdapterTestTLS_RSA() 357 : SSLAdapterTestBase(rtc::SSL_MODE_TLS, rtc::KeyParams::ECDSA()) {} in SSLAdapterTestTLS_ECDSA() 363 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::RSA()) {} in SSLAdapterTestDTLS_RSA() 369 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::ECDSA()) {} in SSLAdapterTestDTLS_ECDSA()
|
D | rtccertificate_unittests.cc | 78 params.key_params = KeyParams::ECDSA(); in GenerateCertificateWithExpires() 89 SSLIdentity::Generate(kTestCertCommonName, KeyParams::ECDSA())); in TEST_F()
|
D | opensslidentity.h | 35 static OpenSSLKeyPair* Generate(const KeyParams& key_params); 105 const KeyParams& key_params);
|
D | opensslidentity.cc | 46 static EVP_PKEY* MakeKey(const KeyParams& key_params) { in MakeKey() 164 OpenSSLKeyPair* OpenSSLKeyPair::Generate(const KeyParams& key_params) { in Generate() 417 const KeyParams& key_params) { in Generate()
|
D | sslidentity_unittest.cc | 399 params.key_params = rtc::KeyParams::ECDSA(rtc::EC_NIST_P256); in TestExpireTime()
|
/external/webrtc/talk/app/webrtc/ |
D | dtlsidentitystore.h | 82 RequestIdentity(rtc::KeyParams(key_type), observer); in RequestIdentity() 89 rtc::KeyParams key_params, in RequestIdentity()
|