public class Ciphertext extends Object
VaultTransitContext
.Modifier and Type | Method and Description |
---|---|
String |
getCiphertext() |
VaultTransitContext |
getContext() |
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.Ciphertext
object.Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.