Virtru SDK for C++  2.8.0
Virtru C++ SDK library - Create, Read, and Manage TDF3 Files
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tdf_constants.h File Reference
#include <string_view>
#include <functional>

Go to the source code of this file.

Classes

struct  virtru::BufferSpan
 

Namespaces

 virtru
 

Typedefs

typedef uint8_t virtru::VBYTE
 
using virtru::TDFDataSourceCb = std::function< BufferSpan(Status &) >
 
using virtru::TDFDataSinkCb = std::function< Status(BufferSpan)>
 

Enumerations

enum  virtru::KeyType { virtru::KeyType::split }
 
enum  virtru::CipherType { virtru::CipherType::Aes256GCM, virtru::CipherType::Aes265CBC }
 
enum  virtru::IntegrityAlgorithm { virtru::IntegrityAlgorithm::HS256, virtru::IntegrityAlgorithm::GMAC }
 
enum  virtru::KeyAccessType { virtru::KeyAccessType::Remote, virtru::KeyAccessType::Wrapped }
 
enum  virtru::Protocol { virtru::Protocol::Zip, virtru::Protocol::Html, virtru::Protocol::Xml }
 
enum  virtru::LogLevel {
  virtru::LogLevel::Trace, virtru::LogLevel::Debug, virtru::LogLevel::Info, virtru::LogLevel::Warn,
  virtru::LogLevel::Error, virtru::LogLevel::Fatal, virtru::LogLevel::Current
}
 
enum  virtru::Status { virtru::Status::Success, virtru::Status::Failure }
 
enum  virtru::EllipticCurve : std::uint8_t { virtru::EllipticCurve::SECP256R1 = 0x00, virtru::EllipticCurve::SECP384R1 = 0x01, virtru::EllipticCurve::SECP521R1 = 0x02, virtru::EllipticCurve::SECP256K1 = 0x03 }
 
enum  virtru::NanoTDFPolicyType : std::uint8_t { virtru::NanoTDFPolicyType::REMOTE_POLICY = 0x00, virtru::NanoTDFPolicyType::EMBEDDED_POLICY_PLAIN_TEXT = 0x01, virtru::NanoTDFPolicyType::EMBEDDED_POLICY_ENCRYPTED = 0x02, virtru::NanoTDFPolicyType::EMBEDDED_POLICY_ENCRYPTED_POLICY_KEY_ACCESS = 0x03 }
 
enum  virtru::NanoTDFCipher : std::uint8_t {
  virtru::NanoTDFCipher::AES_256_GCM_64_TAG = 0x00, virtru::NanoTDFCipher::AES_256_GCM_96_TAG = 0x01, virtru::NanoTDFCipher::AES_256_GCM_104_TAG = 0x02, virtru::NanoTDFCipher::AES_256_GCM_112_TAG = 0x03,
  virtru::NanoTDFCipher::AES_256_GCM_120_TAG = 0x04, virtru::NanoTDFCipher::AES_256_GCM_128_TAG = 0x05, virtru::NanoTDFCipher::EAD_AES_256_HMAC_SHA_256 = 0x06
}
 

Variables

const uint32_t virtru::kNTDFMaxKeyIterations = 8388606