Add key id based m2p rotation support
Some checks failed
build / Windows Build (push) Has been cancelled

This commit is contained in:
server
2026-04-14 12:20:19 +02:00
parent 229c809b96
commit cb0867432e
5 changed files with 100 additions and 19 deletions

View File

@@ -6,8 +6,9 @@
bool InitializeM2PackRuntimeKeyProvider(const char* commandLine);
const std::array<uint8_t, M2PACK_KEY_SIZE>& GetM2PackActiveMasterKey();
const std::array<uint8_t, M2PACK_PUBLIC_KEY_SIZE>& GetM2PackActivePublicKey();
const std::array<uint8_t, M2PACK_PUBLIC_KEY_SIZE>* GetM2PackPublicKeyForKeyId(uint32_t keyId);
uint32_t GetM2PackActiveMasterKeyId();
bool HasM2PackRuntimeMasterKey();
bool HasM2PackRuntimeKeysForArchiveLoad();
bool HasM2PackRuntimeKeysForArchiveLoad(uint32_t keyId);
bool IsM2PackUsingRuntimeMasterKey();
bool IsM2PackUsingRuntimePublicKey();