@@ -476,7 +476,7 @@ public <K extends MasterKey<K>> CryptoResult<byte[], K> decryptData(final Master
476
476
* @see #decryptData(MasterKeyProvider, byte[])
477
477
*
478
478
* @deprecated {@link MasterKeyProvider}s have been deprecated in favor of {@link Keyring}s.
479
- * Replaced by {@link #decryptData(AwsCryptoConfig, byte[] )}
479
+ * Replaced by {@link #decryptData(AwsCryptoConfig, ParsedCiphertext )}
480
480
*/
481
481
@ SuppressWarnings ("unchecked" )
482
482
@ Deprecated
@@ -489,7 +489,7 @@ public <K extends MasterKey<K>> CryptoResult<byte[], K> decryptData(
489
489
/**
490
490
* @see #decryptData(CryptoMaterialsManager, byte[])
491
491
*
492
- * @deprecated Replaced by {@link #decryptData(AwsCryptoConfig, byte[] )}
492
+ * @deprecated Replaced by {@link #decryptData(AwsCryptoConfig, ParsedCiphertext )}
493
493
*/
494
494
@ Deprecated
495
495
public CryptoResult <byte [], ?> decryptData (
@@ -516,14 +516,14 @@ public AwsCryptoResult<byte[]> decryptData(
516
516
}
517
517
518
518
/**
519
- * Decrypts the provided ciphertext using the {@link CryptoMaterialsManager} or the {@link Keyring}
519
+ * Decrypts the provided {@link ParsedCiphertext} using the {@link CryptoMaterialsManager} or the {@link Keyring}
520
520
* specified in the {@link AwsCryptoConfig}.
521
521
*
522
522
* @param config The AwsCryptoConfig containing either a {@link CryptoMaterialsManager} or a {@link Keyring}
523
- * @param ciphertext The ciphertext to decrypt
523
+ * @param ciphertext The {@link ParsedCiphertext} to decrypt
524
524
* @return An {@link AwsCryptoResult} containing the decrypted data
525
525
*/
526
- private AwsCryptoResult <byte []> decryptData (
526
+ public AwsCryptoResult <byte []> decryptData (
527
527
final AwsCryptoConfig config ,
528
528
final ParsedCiphertext ciphertext
529
529
) {
0 commit comments