Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
hsm_client_stub.hpp File Reference
#include "signet/crypto/aes_core.hpp"
#include "signet/crypto/key_metadata.hpp"
#include "signet/error.hpp"
#include <array>
#include <cstdint>
#include <cstring>
#include <string>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

class  signet::forge::crypto::HsmClientStub
 Test stub implementing IKmsClient using software AES Key Wrap. More...
 

Namespaces

namespace  signet
 
namespace  signet::forge
 
namespace  signet::forge::crypto
 
namespace  signet::forge::crypto::detail
 
namespace  signet::forge::crypto::detail::aes_key_wrap
 

Functions

expected< std::vector< uint8_t > > signet::forge::crypto::detail::aes_key_wrap::wrap (const std::array< uint8_t, 32 > &kek, const std::vector< uint8_t > &plaintext)
 AES Key Wrap — wraps plaintext key material under a KEK.
 
expected< std::vector< uint8_t > > signet::forge::crypto::detail::aes_key_wrap::unwrap (const std::array< uint8_t, 32 > &kek, const std::vector< uint8_t > &ciphertext)
 AES Key Unwrap — recovers plaintext key material from wrapped form.