Diarkis C++Client Library API Document
Diarkis::Results::Crypto Namespace Reference

Variables

DIARKIS_EXPORT System::Result INVALID_KEY_SIZE_ERROR
 The key size is invalid. (status: FATAL, value: 0x57B6F8F7) More...
 
DIARKIS_EXPORT System::Result INVALID_IV_SIZE_ERROR
 The iv size is invalid. (status: FATAL, value: 0xBB81D1B7) More...
 
DIARKIS_EXPORT System::Result INVALID_HMAC_KEY_SIZE_ERROR
 The hmac key size is invalid. (status: FATAL, value: 0xD2F55218) More...
 
DIARKIS_EXPORT System::Result CREDENTIALS_NOT_SET
 The key and IV are not set. (status: FATAL, value: 0xA77DE011) More...
 
DIARKIS_EXPORT System::Result HMAC_KEY_NOT_SET
 The hmac key is not set. (status: FATAL, value: 0x8DBF449F) More...
 
DIARKIS_EXPORT System::Result BUFFER_NOT_MULTIPLE_OF_BLOCK_SIZE
 The buffer size is not a multiple of cipher block size. (status: FATAL, value: 0xF9B2900D) More...
 
DIARKIS_EXPORT System::Result CRYPTO_MISCELLANEOUS_ERROR
 Crypto miscellaneous error. (status: FATAL, value: 0xF0FBDD5E) More...
 
DIARKIS_EXPORT System::Result CIPHER_CREATION_ERROR
 The cipher creation failed. (status: FATAL, value: 0xF5FFD0AB) More...
 
DIARKIS_EXPORT System::Result SIGNATURE_MISSMATCH_ERROR
 The signature is incorrect. (status: FATAL, value: 0x6CC80441) More...
 
DIARKIS_EXPORT System::Result EXPECTED_PAYLOAD_SIZE_MISMATCH
 Delta between resulting payload size from header and transport payload size results in wrong padding size. (status: FATAL, value: 0x54922EB1) More...
 

Variable Documentation

◆ INVALID_KEY_SIZE_ERROR

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::INVALID_KEY_SIZE_ERROR

The key size is invalid. (status: FATAL, value: 0x57B6F8F7)

◆ INVALID_IV_SIZE_ERROR

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::INVALID_IV_SIZE_ERROR

The iv size is invalid. (status: FATAL, value: 0xBB81D1B7)

◆ INVALID_HMAC_KEY_SIZE_ERROR

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::INVALID_HMAC_KEY_SIZE_ERROR

The hmac key size is invalid. (status: FATAL, value: 0xD2F55218)

◆ CREDENTIALS_NOT_SET

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::CREDENTIALS_NOT_SET

The key and IV are not set. (status: FATAL, value: 0xA77DE011)

◆ HMAC_KEY_NOT_SET

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::HMAC_KEY_NOT_SET

The hmac key is not set. (status: FATAL, value: 0x8DBF449F)

◆ BUFFER_NOT_MULTIPLE_OF_BLOCK_SIZE

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::BUFFER_NOT_MULTIPLE_OF_BLOCK_SIZE

The buffer size is not a multiple of cipher block size. (status: FATAL, value: 0xF9B2900D)

◆ CRYPTO_MISCELLANEOUS_ERROR

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::CRYPTO_MISCELLANEOUS_ERROR

Crypto miscellaneous error. (status: FATAL, value: 0xF0FBDD5E)

◆ CIPHER_CREATION_ERROR

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::CIPHER_CREATION_ERROR

The cipher creation failed. (status: FATAL, value: 0xF5FFD0AB)

◆ SIGNATURE_MISSMATCH_ERROR

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::SIGNATURE_MISSMATCH_ERROR

The signature is incorrect. (status: FATAL, value: 0x6CC80441)

◆ EXPECTED_PAYLOAD_SIZE_MISMATCH

DIARKIS_EXPORT System::Result Diarkis::Results::Crypto::EXPECTED_PAYLOAD_SIZE_MISMATCH

Delta between resulting payload size from header and transport payload size results in wrong padding size. (status: FATAL, value: 0x54922EB1)