Home
last modified time | relevance | path

Searched refs:cryptoAdapter_ (Results 1 - 3 of 3) sorted by relevance

/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp159 if (cryptoAdapter_ == nullptr) { in CreateNegotiateMessage()
163 json[TAG_CRYPTO_NAME] = cryptoAdapter_->GetName(); in CreateNegotiateMessage()
164 json[TAG_CRYPTO_VERSION] = cryptoAdapter_->GetVersion(); in CreateNegotiateMessage()
188 if (cryptoAdapter_ == nullptr) { in CreateRespNegotiateMessage()
192 json[TAG_CRYPTO_NAME] = cryptoAdapter_->GetName(); in CreateRespNegotiateMessage()
193 json[TAG_CRYPTO_VERSION] = cryptoAdapter_->GetVersion(); in CreateRespNegotiateMessage()
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/
H A Dauth_message_processor.h115 std::shared_ptr<ICryptoAdapter> cryptoAdapter_; member in OHOS::DistributedHardware::AuthMessageProcessor
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_auth_message_processor.cpp83 * @tc.desc: 1 set cryptoAdapter_ to null
84 * 2 call AuthMessageProcessor::AuthMessageProcessor_001 with cryptoAdapter_ = nullptr
98 * @tc.desc: 1 set cryptoAdapter_ to null
99 * 2 call AuthMessageProcessor::AuthMessageProcessor_001 with cryptoAdapter_ = nullptr
114 * @tc.desc: 1 set cryptoAdapter_ to null
115 * 2 call AuthMessageProcessor::CreateNegotiateMessage_001 with cryptoAdapter_ = nullptr
133 authMessageProcessor->cryptoAdapter_ = nullptr; in HWTEST_F()
136 authMessageProcessor->cryptoAdapter_ = std::make_shared<CryptoAdapterTest>(); in HWTEST_F()
1459 authMessageProcessor->cryptoAdapter_ = nullptr; in HWTEST_F()
1472 authMessageProcessor->cryptoAdapter_ in HWTEST_F()
[all...]

Completed in 4 milliseconds