public class TransformCiphertext extends Object
VaultTransformContext
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCiphertext() |
VaultTransformContext |
getContext() |
int |
hashCode() |
static TransformCiphertext |
of(String ciphertext)
Factory method to create
TransformCiphertext from the given
ciphertext . |
TransformCiphertext |
with(VaultTransformContext context)
Create a new
TransformCiphertext object from this ciphertext associated
with the given VaultTransformContext . |
public static TransformCiphertext of(String ciphertext)
TransformCiphertext
from the given
ciphertext
.ciphertext
- the cipher text to decrypt, must not be null or empty.TransformCiphertext
for ciphertext
.public String getCiphertext()
public VaultTransformContext getContext()
public TransformCiphertext with(VaultTransformContext context)
TransformCiphertext
object from this ciphertext associated
with the given VaultTransformContext
.context
- transit context, must not be null.TransformCiphertext
object.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.