10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
SecretKey.h
1#ifndef TENDUKE_CRYPTO_SECRETKEY_H
2#define TENDUKE_CRYPTO_SECRETKEY_H
3
4#include <cstddef>
5
6namespace tenduke { namespace crypto {
7
12{
13public:
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
A secret key.
Definition SecretKey.h:12
virtual const unsigned char * raw() const =0
Returns the raw key data as a byte array.
virtual std::size_t size() const =0
Returns the size of the key in bytes.
Cryptography services.
Definition AbstractCiphers.h:18
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4