Class EncryptionMaterialsRequest
java.lang.Object
com.amazonaws.encryptionsdk.model.EncryptionMaterialsRequest
Contains the contextual information needed to prepare an encryption operation.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getContext
- Returns:
- the encryption context (possibly an empty map)
-
getRequestedAlgorithm
- Returns:
- If a specific encryption algorithm was requested by calling
AwsCrypto.setEncryptionAlgorithm(CryptoAlgorithm)
, the algorithm requested. Otherwise, returns null.
-
getPlaintextSize
public long getPlaintextSize()- Returns:
- The size of the plaintext if known, or -1 otherwise
-
getPlaintext
public byte[] getPlaintext()- Returns:
- The entire input plaintext, if available (and not streaming). Note that for performance reason this is not a copy of the plaintext; you should never modify this buffer, lest the actual data being encrypted be modified. If the input plaintext is unavailable, this will be null.
-
getCommitmentPolicy
-
toBuilder
-
newBuilder
-
equals
-
hashCode
public int hashCode()
-