File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,14 @@ struct aws_cryptosdk_enc_request {
138
138
* context.
139
139
*
140
140
* The values provided to the encryption context SHOULD be UTF-8 bytes.
141
- * You may choose to provide invalid UTF-8 bytes in the encryption context,
142
- * but this is discouraged.
143
- * Messages whose encryption contexts contain invalid UTF-8 characters will
144
- * not be interoperable with other language implementations of the encryption SDK.
145
- * The encryption SDK for C will allow writing and reading invalid UTF-8 in encryption
146
- * contexts, but the encryption SDK in other languages will neither read nor write
147
- * messages whose encryption context contains invalid UTF-8 characters.
141
+ * While it is technically possible to provide invalid UTF-8 bytes,
142
+ * doing so is strongly discouraged.
143
+ * Messages that include invalid UTF-8 bytes in their encryption context
144
+ * will not be interoperable across different language implementations
145
+ * of the AWS Encryption SDK.
146
+ * The ESDK for C permits writing and reading encryption contexts that
147
+ * contain invalid UTF-8 bytes, but ESDKs in other language will neither
148
+ * read nor write messages whose encryption context contains invalid UTF-8.
148
149
*/
149
150
struct aws_hash_table * enc_ctx ;
150
151
/**
You can’t perform that action at this time.
0 commit comments