Uses of Class
com.amazonaws.encryptionsdk.CryptoResult
Packages that use CryptoResult
-
Uses of CryptoResult in com.amazonaws.encryptionsdk
Methods in com.amazonaws.encryptionsdk that return CryptoResultModifier and TypeMethodDescriptionCryptoResult<byte[],?>AwsCrypto.decryptData(CryptoMaterialsManager materialsManager, byte[] ciphertext)Decrypts the provided ciphertext by delegating to the provided materialsManager to obtain the decryptedDataKey.CryptoResult<byte[],?>AwsCrypto.decryptData(CryptoMaterialsManager materialsManager, ParsedCiphertext ciphertext)<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto.decryptData(MasterKeyProvider<K> provider, byte[] ciphertext)Decrypts the providedciphertextby requesting that theproviderunwrap any usableDataKeyin the ciphertext and then decrypts the ciphertext using thatDataKey.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto.decryptData(MasterKeyProvider<K> provider, ParsedCiphertext ciphertext)CryptoResult<String,?>AwsCrypto.decryptString(CryptoMaterialsManager provider, String ciphertext)Deprecated.<K extends MasterKey<K>>
CryptoResult<String,K>AwsCrypto.decryptString(MasterKeyProvider<K> provider, String ciphertext)Deprecated.Use theAwsCrypto.decryptData(MasterKeyProvider, byte[])andAwsCrypto.encryptData(MasterKeyProvider, byte[], Map)APIs instead.CryptoResult<byte[],?>AwsCrypto.encryptData(CryptoMaterialsManager materialsManager, byte[] plaintext)Returns the equivalent to callingAwsCrypto.encryptData(CryptoMaterialsManager, byte[], Map)with an emptyencryptionContext.CryptoResult<byte[],?>AwsCrypto.encryptData(CryptoMaterialsManager materialsManager, byte[] plaintext, Map<String,String> encryptionContext)Returns an encrypted form ofplaintextthat has been protected withDataKeysthat are in turn protected by the given CryptoMaterialsProvider.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto.encryptData(MasterKeyProvider<K> provider, byte[] plaintext)Returns the equivalent to callingAwsCrypto.encryptData(MasterKeyProvider, byte[], Map)with an emptyencryptionContext.<K extends MasterKey<K>>
CryptoResult<byte[],K>AwsCrypto.encryptData(MasterKeyProvider<K> provider, byte[] plaintext, Map<String,String> encryptionContext)Returns an encrypted form ofplaintextthat has been protected withDataKeysthat are in turn protected byMasterKeysprovided byprovider.CryptoResult<String,?>AwsCrypto.encryptString(CryptoMaterialsManager materialsManager, String plaintext)Deprecated.Use theAwsCrypto.encryptData(CryptoMaterialsManager, byte[])andAwsCrypto.decryptData(CryptoMaterialsManager, byte[])APIs instead.CryptoResult<String,?>AwsCrypto.encryptString(CryptoMaterialsManager materialsManager, String plaintext, Map<String,String> encryptionContext)Deprecated.<K extends MasterKey<K>>
CryptoResult<String,K>AwsCrypto.encryptString(MasterKeyProvider<K> provider, String plaintext)Deprecated.Use theAwsCrypto.encryptData(MasterKeyProvider, byte[])andAwsCrypto.decryptData(MasterKeyProvider, byte[])APIs instead.<K extends MasterKey<K>>
CryptoResult<String,K>AwsCrypto.encryptString(MasterKeyProvider<K> provider, String plaintext, Map<String,String> encryptionContext)Deprecated.Use theAwsCrypto.encryptData(MasterKeyProvider, byte[], Map)andAwsCrypto.decryptData(MasterKeyProvider, byte[])APIs instead.CryptoInputStream.getCryptoResult()Returns the result of the cryptographic operations including associate metadata.CryptoOutputStream.getCryptoResult()Returns the result of the cryptographic operations including associate metadata.
AwsCrypto.decryptData(CryptoMaterialsManager, byte[])andAwsCrypto.encryptData(CryptoMaterialsManager, byte[], Map)APIs instead.