AWS Encryption SDK for C v2.4
|
#include <materials.h>
Data Fields | |
struct aws_allocator * | alloc |
const struct aws_hash_table * | enc_ctx |
struct aws_array_list | encrypted_data_keys |
enum aws_cryptosdk_alg_id | alg |
Decryption request passed from session to CMM
Definition at line 198 of file materials.h.
enum aws_cryptosdk_alg_id aws_cryptosdk_dec_request::alg |
Definition at line 217 of file materials.h.
struct aws_allocator* aws_cryptosdk_dec_request::alloc |
Definition at line 199 of file materials.h.
const struct aws_hash_table* aws_cryptosdk_dec_request::enc_ctx |
The encryption context for this message. CMMs are permitted to modify this hash table in order to inject additional keys or otherwise modify the encryption context.
The values provided to the encryption context SHOULD be UTF-8 bytes. While it is technically possible to provide invalid UTF-8 bytes, doing so is strongly discouraged. Messages that include invalid UTF-8 bytes in their encryption context will not be interoperable across different language implementations of the AWS Encryption SDK. The ESDK for C permits writing and reading encryption contexts that contain invalid UTF-8 bytes, but ESDKs in other languages will neither read nor write messages whose encryption context contains invalid UTF-8.
Definition at line 215 of file materials.h.
struct aws_array_list aws_cryptosdk_dec_request::encrypted_data_keys |
Definition at line 216 of file materials.h.