28 , m_keyIdType(keyIdType)
38 BOOST_ASSERT(!keyId.
empty());
103 if (size == 0 || size % 8 != 0)
KeyParams(KeyType keyType, KeyIdType keyIdType)
Constructor.
static uint32_t checkKeySize(uint32_t size)
Check if size is valid and supported for this key type.
static uint32_t getDefaultSize()
static uint32_t checkKeySize(uint32_t size)
Check if size is valid and supported for this key type.
static uint32_t getDefaultSize()
static uint32_t getDefaultSize()
static uint32_t checkKeySize(uint32_t size)
Check if size is valid and supported for this key type.
static uint32_t getDefaultSize()
static uint32_t checkKeySize(uint32_t size)
Check if size is valid and supported for this key type.
Represents a name component.
bool empty() const noexcept
constexpr uint32_t AES_KEY_SIZES[]
constexpr uint32_t MIN_RSA_KEY_SIZE
constexpr uint32_t DEFAULT_HMAC_KEY_SIZE
constexpr uint32_t DEFAULT_RSA_KEY_SIZE
constexpr uint32_t EC_KEY_SIZES[]
constexpr uint32_t DEFAULT_AES_KEY_SIZE
constexpr uint32_t DEFAULT_EC_KEY_SIZE
constexpr uint32_t MAX_RSA_KEY_SIZE
std::string to_string(const errinfo_stacktrace &x)
KeyType
The type of a cryptographic key.
KeyIdType
The type of KeyId component in a key name.
@ USER_SPECIFIED
User-specified key id.