Searched refs:KeyAlgorithm (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/include/ |
H A D | tls_key.h | 42 TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase); 43 TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase, 49 [[nodiscard]] KeyAlgorithm Algorithm() const; 56 void DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase); 57 …void DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData… 58 …void DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData… 60 void SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio); 73 KeyAlgorithm keyAlgorithm_ = OPAQUE;
|
H A D | tls.h | 53 enum KeyAlgorithm { OPAQUE, ALGORITHM_RSA, ALGORITHM_DSA, ALGORITHM_EC, ALGORITHM_DH }; enum
|
/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() 39 TLSKey::TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase) in TLSKey() 142 void TLSKey::DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhras… in DecodeData() 162 void TLSKey::DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const Sec… in DecodeDer() 203 void TLSKey::SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio) in SwitchAlgorithm() 244 void TLSKey::DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const Sec… in DecodePem() 317 KeyAlgorithm TLSKey::Algorithm() const in Algorithm()
|
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsKeyTest.cpp | 77 KeyAlgorithm algorithm = tlsKey.Algorithm(); 104 KeyAlgorithm algorithm = tlsKeyCopy.Algorithm(); 115 KeyAlgorithm algorithm = key.Algorithm();
|