Package com.amazonaws.encryptionsdk
Class MasterKeyRequest
java.lang.Object
com.amazonaws.encryptionsdk.MasterKeyRequest
Contains information which
MasterKeyProviders can use to select which MasterKeys
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.longgetSize()The size of the plaintext, if available.booleanstatic 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
-