File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,21 @@ struct aws_cryptosdk_enc_materials {
197
197
*/
198
198
struct aws_cryptosdk_dec_request {
199
199
struct aws_allocator * alloc ;
200
+ /**
201
+ * The encryption context for this message. CMMs are permitted to modify this
202
+ * hash table in order to inject additional keys or otherwise modify the encryption
203
+ * context.
204
+ *
205
+ * The values provided to the encryption context SHOULD be UTF-8 bytes.
206
+ * While it is technically possible to provide invalid UTF-8 bytes,
207
+ * doing so is strongly discouraged.
208
+ * Messages that include invalid UTF-8 bytes in their encryption context
209
+ * will not be interoperable across different language implementations
210
+ * of the AWS Encryption SDK.
211
+ * The ESDK for C permits writing and reading encryption contexts that
212
+ * contain invalid UTF-8 bytes, but ESDKs in other languages will neither
213
+ * read nor write messages whose encryption context contains invalid UTF-8.
214
+ */
200
215
const struct aws_hash_table * enc_ctx ;
201
216
struct aws_array_list encrypted_data_keys ;
202
217
enum aws_cryptosdk_alg_id alg ;
You can’t perform that action at this time.
0 commit comments