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