4#include <NDEVR/Buffer.h>
16 class NDEVR_SECURITY_API PublicPrivateKey
21 PublicPrivateKey(
File public_key,
File private_key);
29 PublicPrivateKey(
const PublicPrivateKey&) =
delete;
33 bool writePublicKey(
File file)
const;
34 bool writePrivateKey(
File file)
const;
41 ec_point_st* generatePublicKey()
const;
42 HighCapacityBuffer<uint01> encodeMessage(
const uint01* encoded,
uint08 size)
const;
43 HighCapacityBuffer<uint01> decodeMessage(
const uint01* encoded,
uint08 size)
const;
45 bool m_is_private =
false;
46 ec_key_st* m_key =
nullptr;
The equivelent of std::vector but with a bit more control.
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
When passwords are used inside the NDEVR engine, we don't want them logged or visible.
The core String View class for the NDEVR API.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.
uint64_t uint08
-Defines an alias representing an 8 byte, unsigned integer
int32_t sint04
-Defines an alias representing a 4 byte, signed integer.
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
@ file
The source file path associated with this object.
@ name
The display name of the object.