Package com.amazonaws.encryptionsdk
Class MasterKeyRequest
java.lang.Object
com.amazonaws.encryptionsdk.MasterKeyRequest
Contains information which
MasterKeyProvider
s can use to select which MasterKey
s
to use to protect a given plaintext. This class is immutable.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
The plaintext, if available, to be protected by this request.long
getSize()
The size of the plaintext, if available.boolean
static MasterKeyRequest.Builder
-
Method Details
-
getEncryptionContext
-
isStreaming
public boolean isStreaming() -
getPlaintext
public byte[] getPlaintext()The plaintext, if available, to be protected by this request. Otherwise,null
. -
getSize
public long getSize()The size of the plaintext, if available. Otherwise-1
. -
newBuilder
-