Searched refs:TLSKey (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsKeyTest.cpp | 76 TLSKey tlsKey = TLSKey(structureData, ALGORITHM_RSA, keyPass); 86 TLSKey tlsKey1 = TLSKey(fileName, ALGORITHM_RSA, keyPass); 89 TLSKey tlsKey3 = TLSKey(fileName2, ALGORITHM_RSA, keyPass); 93 TLSKey tlsKey = TLSKey(structureData, ALGORITHM_RSA, keyPass); 102 TLSKey tlsKey = TLSKey(structureData, ALGORITHM_RSA, keyPass); 103 TLSKey tlsKeyCopy = TLSKey(tlsKey); 113 TLSKey tlsKey = TLSKey(structureData, ALGORITHM_RSA, keyPass); 124 TLSKey tlsKey = TLSKey(structureData, ALGORITHM_RSA, keyPass); 140 TLSKey tlsKeyOpaque = TLSKey(structureData, OPAQUE, keyPass); 179 TLSKey tlsKeyOpaque = TLSKey(structureData, OPAQUE, keyPass); [all …]
|
H A D | TlsConfigurationTest.cpp | 82 TLSKey tlsKey = tlsConfiguration.GetPrivateKey();
|
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | tls_key.cpp | 29 TLSKey::TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase, in TLSKey() function in OHOS::NetStack::TlsSocket::TLSKey 39 TLSKey::TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase) in TLSKey() function in OHOS::NetStack::TlsSocket::TLSKey 48 TLSKey::TLSKey(const SecureData &data, const SecureData &passPhrase) in TLSKey() function in OHOS::NetStack::TlsSocket::TLSKey 57 TLSKey::TLSKey(const TLSKey &other) in TLSKey() function in OHOS::NetStack::TlsSocket::TLSKey 62 TLSKey &TLSKey::operator=(const TLSKey &other) in operator =() 92 void TLSKey::DecodeData(const SecureData &data, const SecureData &passPhrase) in DecodeData() 281 void TLSKey::Clear(bool deep) in Clear() 317 KeyAlgorithm TLSKey::Algorithm() const in Algorithm() 322 Handle TLSKey::handle() const in handle() 340 const SecureData &TLSKey::GetKeyPass() const in GetKeyPass() [all …]
|
H A D | tls_configuration.cpp | 39 const TLSKey &TLSConfiguration::PrivateKey() const in PrivateKey() 70 void TLSConfiguration::SetPrivateKey(const TLSKey &key) in SetPrivateKey() 77 TLSKey pkey(key, keyPass); in SetPrivateKey() 180 TLSKey TLSConfiguration::GetPrivateKey() const in GetPrivateKey()
|
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/include/ |
H A D | tls_key.h | 36 class TLSKey { 38 TLSKey() = default; 39 ~TLSKey() = default; 41 TLSKey(const SecureData &data, const SecureData &passPhrase); 42 TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase); 43 TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase, 46 TLSKey(const TLSKey &other); 47 TLSKey &operator=(const TLSKey &other);
|
H A D | tls_configuration.h | 46 [[nodiscard]] const TLSKey &PrivateKey() const; 47 void SetPrivateKey(const TLSKey &key); 49 [[nodiscard]] TLSKey GetPrivateKey() const; 90 TLSKey privateKey_;
|