public interface VaultTransformOperations
transform
backend.Modifier and Type | Method and Description |
---|---|
List<VaultTransformDecodeResult> |
decode(String roleName,
List<TransformCiphertext> batchRequest)
Decode the provided batch of ciphertext using the role given and transformation in
each list item.
|
default String |
decode(String roleName,
String ciphertext)
Decode the provided ciphertext using the named role.
|
String |
decode(String roleName,
String ciphertext,
VaultTransformContext transformContext)
Decode the provided ciphertext using the named role.
|
TransformPlaintext |
decode(String roleName,
TransformCiphertext ciphertext)
Decode the provided ciphertext using the named role.
|
default TransformCiphertext |
encode(String roleName,
byte[] plaintext,
VaultTransformContext transformRequest)
Encode the provided plaintext using the named role.
|
List<VaultTransformEncodeResult> |
encode(String roleName,
List<TransformPlaintext> batchRequest)
Encode the provided batch of plaintext using the role given and transformation in
each list item.
|
String |
encode(String roleName,
String plaintext)
Encode the provided plaintext using the named role.
|
TransformCiphertext |
encode(String roleName,
TransformPlaintext plaintext)
Encode the provided plaintext using the named role.
|
String encode(String roleName, String plaintext)
roleName
- must not be empty or null.plaintext
- must not be empty or null.TransformCiphertext encode(String roleName, TransformPlaintext plaintext)
roleName
- must not be empty or null.plaintext
- must not be null.default TransformCiphertext encode(String roleName, byte[] plaintext, VaultTransformContext transformRequest)
roleName
- must not be empty or null.plaintext
- must not be empty or null.transformRequest
- must not be null. Use
VaultTransformContext.empty()
if no request options provided.List<VaultTransformEncodeResult> encode(String roleName, List<TransformPlaintext> batchRequest)
roleName
- must not be empty or null.batchRequest
- a list of Plaintext
which includes plaintext and an
optional context.batchRequest
plaintexts.default String decode(String roleName, String ciphertext)
roleName
- must not be empty or null.ciphertext
- must not be empty or null.TransformPlaintext decode(String roleName, TransformCiphertext ciphertext)
roleName
- must not be empty or null.ciphertext
- must not be null.String decode(String roleName, String ciphertext, VaultTransformContext transformContext)
roleName
- must not be empty or null.ciphertext
- must not be empty or null.transformContext
- must not be null. Use
VaultTransformContext.empty()
if no request options provided.List<VaultTransformDecodeResult> decode(String roleName, List<TransformCiphertext> batchRequest)
roleName
- must not be empty or null.batchRequest
- a list of Ciphertext
which includes plaintext and an
optional context.batchRequest
ciphertexts.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.