Package | Description |
---|---|
com.amazonaws.encryptionsdk |
Contains
AwsCrypto , the primary entry-point to the Aws Encryption SDK. |
Modifier and Type | Method and Description |
---|---|
<K extends MasterKey<K>> |
AwsCrypto.decryptData(MasterKeyProvider<K> provider,
byte[] ciphertext)
Decrypts the provided
ciphertext by requesting that the provider unwrap the
first usable DataKey in the ciphertext and then decrypts the ciphertext using that
DataKey . |
<K extends MasterKey<K>> |
AwsCrypto.decryptData(MasterKeyProvider<K> provider,
ParsedCiphertext ciphertext) |
<K extends MasterKey<K>> |
AwsCrypto.decryptString(MasterKeyProvider<K> provider,
String ciphertext)
Base64 decodes the
ciphertext prior to decryption and then treats the results as a
UTF-8 encoded string. |
<K extends MasterKey<K>> |
AwsCrypto.encryptData(MasterKeyProvider<K> provider,
byte[] plaintext)
Returns the equivalent to calling
AwsCrypto.encryptData(MasterKeyProvider, byte[], Map) with
an empty encryptionContext . |
<K extends MasterKey<K>> |
AwsCrypto.encryptData(MasterKeyProvider<K> provider,
byte[] plaintext,
Map<String,String> encryptionContext)
Returns an encrypted form of
plaintext that has been protected with DataKeys that are in turn protected by MasterKeys provided by
provider . |
<K extends MasterKey<K>> |
AwsCrypto.encryptString(MasterKeyProvider<K> provider,
String plaintext)
Returns the equivalent to calling
AwsCrypto.encryptString(MasterKeyProvider, String, Map) with
an empty encryptionContext . |
<K extends MasterKey<K>> |
AwsCrypto.encryptString(MasterKeyProvider<K> provider,
String plaintext,
Map<String,String> encryptionContext)
Calls
AwsCrypto.encryptData(MasterKeyProvider, byte[], Map) on the UTF-8 encoded bytes of
plaintext and base64 encodes the result. |
CryptoResult<CryptoInputStream<K>,K> |
CryptoInputStream.getCryptoResult()
Returns the result of the cryptographic operations including associate metadata.
|
CryptoResult<CryptoOutputStream<K>,K> |
CryptoOutputStream.getCryptoResult()
Returns the result of the cryptographic operations including associate metadata.
|
Copyright © 2016. All rights reserved.