|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.CryptoConfiguration
public class CryptoConfiguration
Stores configuration parameters that will be used during encryption and decryption by the Amazon S3 Encryption Client. With this object, you can set the encryption client to use Instruction Files or Object Metadata for storing encryption information. You can also specify your own crypto provider to be used during encryption and decryption.
Constructor Summary | |
---|---|
CryptoConfiguration()
Creates a new CryptoConfiguration object with default storage mode and crypto provider settings. |
Method Summary | |
---|---|
Provider |
getCryptoProvider()
Returns the crypto provider whose encryption implementation will be used to encrypt and decrypt data. |
CryptoStorageMode |
getStorageMode()
Returns the current storage mode of a CryptoConfiguration object. |
void |
setCryptoProvider(Provider cryptoProvider)
Sets the crypto provider to the specified provider. |
void |
setStorageMode(CryptoStorageMode storageMode)
Sets the storage mode to the specified mode. |
CryptoConfiguration |
withCryptoProvider(Provider cryptoProvider)
Sets the crypto provider to the specified provider, and returns the updated CryptoConfiguration object. |
CryptoConfiguration |
withStorageMode(CryptoStorageMode storageMode)
Sets the storage mode to the specified mode, and returns the updated CryptoConfiguration object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CryptoConfiguration()
Method Detail |
---|
public void setStorageMode(CryptoStorageMode storageMode)
storageMode
- The storage mode to be used for storing encryption information.public CryptoConfiguration withStorageMode(CryptoStorageMode storageMode)
storageMode
- The storage mode to be used for storing encryption information.
public CryptoStorageMode getStorageMode()
public void setCryptoProvider(Provider cryptoProvider)
cryptoProvider
- The crypto provider whose encryption implementation will be used to encrypt and decrypt data.public CryptoConfiguration withCryptoProvider(Provider cryptoProvider)
cryptoProvider
- The crypto provider whose encryption implementation will be used to encrypt and decrypt data.
public Provider getCryptoProvider()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |