10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SecretKey.h
1
#ifndef TENDUKE_CRYPTO_SECRETKEY_H
2
#define TENDUKE_CRYPTO_SECRETKEY_H
3
4
#include <cstddef>
5
6
namespace
tenduke
{
namespace
crypto
{
7
11
class
SecretKey
12
{
13
public
:
14
virtual
~SecretKey
() =
default
;
15
20
virtual
std::size_t
size
()
const
= 0;
21
26
virtual
const
unsigned
char
*
raw
()
const
= 0;
27
};
28
29
}}
30
31
#endif
//TENDUKE_CLIENT_CORE_SECRETKEY_H
tenduke::crypto::SecretKey
A secret key.
Definition
SecretKey.h:12
tenduke::crypto::SecretKey::raw
virtual const unsigned char * raw() const =0
Returns the raw key data as a byte array.
tenduke::crypto::SecretKey::size
virtual std::size_t size() const =0
Returns the size of the key in bytes.
tenduke::crypto
Cryptography services.
Definition
AbstractCiphers.h:18
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
crypto
symmetric
SecretKey.h
Generated by
1.17.0