@@ -282,9 +282,9 @@ public <K extends MasterKey<K>> CryptoResult<byte[], K> encryptData(final Master
282
282
* Calls {@link #encryptData(MasterKeyProvider, byte[], Map)} on the UTF-8 encoded bytes of
283
283
* {@code plaintext} and base64 encodes the result.
284
284
* @deprecated Use the {@link #encryptData(MasterKeyProvider, byte[], Map)} and
285
- * {@link #decryptData(MasterKeyProvider, byte[])} APIs instead. {@code encryptString} is incompatible with the
286
- * other AWS Encryption SDK language implementations. By design, this feature is not supported by the other
287
- * language implementations .
285
+ * {@link #decryptData(MasterKeyProvider, byte[])} APIs instead. {@code encryptString} and {@code decryptString}
286
+ * require an extra Base64 decode/encode step to interoperate with other AWS Encryption SDK implementations. Data
287
+ * encoding is an application-specific choice. These deprecated APIs will be removed in the future .
288
288
*/
289
289
@ Deprecated
290
290
public <K extends MasterKey <K >> CryptoResult <String , K > encryptString (
@@ -301,9 +301,9 @@ public <K extends MasterKey<K>> CryptoResult<String, K> encryptString(
301
301
* Calls {@link #encryptData(CryptoMaterialsManager, byte[], Map)} on the UTF-8 encoded bytes of
302
302
* {@code plaintext} and base64 encodes the result.
303
303
* @deprecated Use the {@link #encryptData(CryptoMaterialsManager, byte[], Map)} and
304
- * {@link #decryptData(CryptoMaterialsManager, byte[])} APIs instead. {@code encryptString} is incompatible with the
305
- * other AWS Encryption SDK language implementations. By design, this feature is not supported by the other
306
- * language implementations .
304
+ * {@link #decryptData(CryptoMaterialsManager, byte[])} APIs instead. {@code encryptString} and {@code decryptString}
305
+ * require an extra Base64 decode/encode step to interoperate with other AWS Encryption SDK implementations. Data
306
+ * encoding is an application-specific choice. These deprecated APIs will be removed in the future .
307
307
*/
308
308
@ Deprecated
309
309
public CryptoResult <String , ?> encryptString (
@@ -324,9 +324,9 @@ public <K extends MasterKey<K>> CryptoResult<String, K> encryptString(
324
324
* Returns the equivalent to calling {@link #encryptString(MasterKeyProvider, String, Map)} with
325
325
* an empty {@code encryptionContext}.
326
326
* @deprecated Use the {@link #encryptData(MasterKeyProvider, byte[])} and
327
- * {@link #decryptData(MasterKeyProvider, byte[])} APIs instead. {@code encryptString} is incompatible with the
328
- * other AWS Encryption SDK language implementations. By design, this feature is not supported by the other
329
- * language implementations .
327
+ * {@link #decryptData(MasterKeyProvider, byte[])} APIs instead. {@code encryptString} and {@code decryptString}
328
+ * require an extra Base64 decode/encode step to interoperate with other AWS Encryption SDK implementations. Data
329
+ * encoding is an application-specific choice. These deprecated APIs will be removed in the future .
330
330
*/
331
331
@ Deprecated
332
332
public <K extends MasterKey <K >> CryptoResult <String , K > encryptString (final MasterKeyProvider <K > provider ,
@@ -338,9 +338,9 @@ public <K extends MasterKey<K>> CryptoResult<String, K> encryptString(final Mast
338
338
* Returns the equivalent to calling {@link #encryptString(CryptoMaterialsManager, String, Map)} with
339
339
* an empty {@code encryptionContext}.
340
340
* @deprecated Use the {@link #encryptData(CryptoMaterialsManager, byte[])} and
341
- * {@link #decryptData(CryptoMaterialsManager, byte[])} APIs instead. {@code encryptString} is incompatible with the
342
- * other AWS Encryption SDK language implementations. By design, this feature is not supported by the other
343
- * language implementations .
341
+ * {@link #decryptData(CryptoMaterialsManager, byte[])} APIs instead. {@code encryptString} and {@code decryptString}
342
+ * require an extra Base64 decode/encode step to interoperate with other AWS Encryption SDK implementations. Data
343
+ * encoding is an application-specific choice. These deprecated APIs will be removed in the future .
344
344
*/
345
345
@ Deprecated
346
346
public CryptoResult <String , ?> encryptString (
@@ -423,9 +423,10 @@ public <K extends MasterKey<K>> CryptoResult<byte[], K> decryptData(
423
423
*
424
424
* @see #decryptData(MasterKeyProvider, byte[])
425
425
* @deprecated Use the {@link #decryptData(MasterKeyProvider, byte[])} and
426
- * {@link #encryptData(MasterKeyProvider, byte[], Map)} APIs instead. {@code decryptString} is incompatible with
427
- * the other AWS Encryption SDK language implementations. By design, this feature is not supported by the other
428
- * language implementations.
426
+ * {@link #encryptData(MasterKeyProvider, byte[], Map)} APIs instead. {@code encryptString} and
427
+ * {@code decryptString} require an extra Base64 decode/encode step to interoperate with other AWS Encryption SDK
428
+ * implementations. Data encoding is an application-specific choice. These deprecated APIs will be removed in the
429
+ * future.
429
430
*/
430
431
@ Deprecated
431
432
@ SuppressWarnings ("unchecked" )
@@ -442,9 +443,10 @@ public <K extends MasterKey<K>> CryptoResult<String, K> decryptString(
442
443
*
443
444
* @see #decryptData(CryptoMaterialsManager, byte[])
444
445
* @deprecated Use the {@link #decryptData(CryptoMaterialsManager, byte[])} and
445
- * {@link #encryptData(CryptoMaterialsManager, byte[], Map)} APIs instead. {@code decryptString} is incompatible
446
- * with the other AWS Encryption SDK language implementations. By design, this feature is not supported by the other
447
- * language implementations.
446
+ * {@link #encryptData(CryptoMaterialsManager, byte[], Map)} APIs instead. {@code encryptString} and
447
+ * {@code decryptString} require an extra Base64 decode/encode step to interoperate with other AWS Encryption SDK
448
+ * implementations. Data encoding is an application-specific choice. These deprecated APIs will be removed in the
449
+ * future.
448
450
*/
449
451
@ Deprecated
450
452
public CryptoResult <String , ?> decryptString (final CryptoMaterialsManager provider ,
0 commit comments