public final class MasterKeyRequest extends Object
MasterKeyProviders can use to select which MasterKeys
to use to protect a given plaintext. This class is immutable.| Modifier and Type | Class and Description |
|---|---|
static class |
MasterKeyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEncryptionContext() |
byte[] |
getPlaintext()
The plaintext, if available, to be protected by this request.
|
long |
getSize()
The size of the plaintext, if available.
|
boolean |
isStreaming() |
static MasterKeyRequest.Builder |
newBuilder() |
public boolean isStreaming()
public byte[] getPlaintext()
null.public long getSize()
-1.public static MasterKeyRequest.Builder newBuilder()
Copyright © 2023. All rights reserved.