Searched refs:SignAlgorithm (Results 1 – 6 of 6) sorted by relevance
43 class SignAlgorithm {45 using SignAlgorithmPtr = std::shared_ptr<SignAlgorithm>;47 …SignAlgorithm(const std::string keyPath, uint8_t digestMethod) : keyName_(keyPath), digestMethod_(… in SignAlgorithm() function49 virtual ~SignAlgorithm() {} in ~SignAlgorithm()61 class VerifyAlgorithm : public SignAlgorithm {63 …VerifyAlgorithm(const std::string keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digestMe… in VerifyAlgorithm()76 class SignAlgorithmRsa : public SignAlgorithm {78 …SignAlgorithmRsa(const std::string &keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digest… in SignAlgorithmRsa()85 class SignAlgorithmEcc : public SignAlgorithm {87 …SignAlgorithmEcc(const std::string &keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digest… in SignAlgorithmEcc()
111 X509 *SignAlgorithm::GetPubkey() const in GetPubkey()128 int32_t SignAlgorithm::VerifyDigest(const std::vector<uint8_t> &digest, const std::vector<uint8_t> … in VerifyDigest()152 SignAlgorithm::SignAlgorithmPtr PkgAlgorithmFactory::GetSignAlgorithm(const std::string &path, in GetSignAlgorithm()166 SignAlgorithm::SignAlgorithmPtr PkgAlgorithmFactory::GetVerifyAlgorithm(const std::string &path, ui… in GetVerifyAlgorithm()
93 …static SignAlgorithm::SignAlgorithmPtr GetSignAlgorithm(const std::string &path, uint8_t signMetho…96 … static SignAlgorithm::SignAlgorithmPtr GetVerifyAlgorithm(const std::string &path, uint8_t type);
119 …SignAlgorithm::SignAlgorithmPtr sign = PkgAlgorithmFactory::GetSignAlgorithm(TEST_PATH_FROM, inval… in TestInvalidParam()
708 SignAlgorithm::SignAlgorithmPtr signAlgorithm = PkgAlgorithmFactory::GetVerifyAlgorithm( in CreatePkgStream()735 SignAlgorithm::SignAlgorithmPtr signAlgorithm = in CreatePkgStream()
1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...