Lines Matching refs:filesystem

34 Signature::Signature(const std::filesystem::path& imageDirPath,  in Signature()
36 const std::filesystem::path& signedConfPath) : in Signature()
40 std::filesystem::path file(imageDirPath / MANIFEST_FILE); in Signature()
53 if (!std::filesystem::is_directory(signedConfPath)) in getAvailableKeyTypesFromSystem()
68 std::filesystem::recursive_directory_iterator(signedConfPath)) in getAvailableKeyTypesFromSystem()
85 std::filesystem::path hashpath(signedConfPath / key / HASH_FILE_NAME); in getKeyHashFileNames()
86 std::filesystem::path keyPath(signedConfPath / key / PUBLICKEY_FILE_NAME); in getKeyHashFileNames()
104 std::filesystem::path publicKeyFile(imageDirPath / PUBLICKEY_FILE_NAME); in verify()
108 std::filesystem::path file(imageDirPath); in verify()
113 std::filesystem::path sigFile(imageDirPath); in verify()
151 std::filesystem::path pkeyFile(imageDirPath / PUBLICKEY_FILE_NAME); in systemLevelVerify()
152 std::filesystem::path pkeyFileSig(pkeyFile); in systemLevelVerify()
156 std::filesystem::path manifestFile(imageDirPath / MANIFEST_FILE); in systemLevelVerify()
157 std::filesystem::path manifestFileSig(manifestFile); in systemLevelVerify()
198 bool Signature::verifyFile(const std::filesystem::path& file, in verifyFile()
199 const std::filesystem::path& sigFile, in verifyFile()
200 const std::filesystem::path& publicKey, in verifyFile()
204 if (!(std::filesystem::exists(file) && std::filesystem::exists(sigFile))) in verifyFile()
246 auto size = std::filesystem::file_size(file); in verifyFile()
258 size = std::filesystem::file_size(sigFile); in verifyFile()
283 Signature::createPublicRSA(const std::filesystem::path& publicKey) in createPublicRSA()
285 auto size = std::filesystem::file_size(publicKey); in createPublicRSA()
301 CustomMap Signature::mapFile(const std::filesystem::path& path, size_t size) in mapFile()