Home
last modified time | relevance | path

Searched refs:KeyAlgorithm (Results 1 – 4 of 4) sorted by relevance

/foundation/communication/netstack/frameworks/native/tls_socket/include/
Dtls_key.h41 TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase);
42 TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase,
48 [[nodiscard]] KeyAlgorithm Algorithm() const;
54 void DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase);
55 …void DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData…
56 …void DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData…
58 void SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio);
71 KeyAlgorithm keyAlgorithm_ = OPAQUE;
Dtls.h53 enum KeyAlgorithm { OPAQUE, ALGORITHM_RSA, ALGORITHM_DSA, ALGORITHM_EC, ALGORITHM_DH }; enum
/foundation/communication/netstack/frameworks/native/tls_socket/src/
Dtls_key.cpp29 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()
79 void TLSKey::DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhras… in DecodeData()
99 void TLSKey::DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const Sec… in DecodeDer()
140 void TLSKey::SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio) in SwitchAlgorithm()
181 void TLSKey::DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const Sec… in DecodePem()
254 KeyAlgorithm TLSKey::Algorithm() const in Algorithm()
/foundation/communication/netstack/test/unittest/tlssocket/client/
DTlsKeyTest.cpp77 KeyAlgorithm algorithm = tlsKey.Algorithm();
104 KeyAlgorithm algorithm = tlsKeyCopy.Algorithm();
115 KeyAlgorithm algorithm = key.Algorithm();