Package | Description |
---|---|
org.springframework.vault.core |
Vault core support.
|
org.springframework.vault.support |
Classes supporting the Vault packages, such as value objects.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
VaultTransitTemplate.decrypt(String keyName,
String ciphertext,
VaultTransitContext transitContext) |
byte[] |
VaultTransitOperations.decrypt(String keyName,
String ciphertext,
VaultTransitContext transitContext)
Decrypts the provided plaintext using the named key.
|
String |
VaultTransitTemplate.encrypt(String keyName,
byte[] plaintext,
VaultTransitContext transitContext) |
String |
VaultTransitOperations.encrypt(String keyName,
byte[] plaintext,
VaultTransitContext transitRequest)
Encrypts the provided plaintext using the named key.
|
String |
VaultTransitTemplate.rewrap(String keyName,
String ciphertext,
VaultTransitContext transitContext) |
String |
VaultTransitOperations.rewrap(String keyName,
String ciphertext,
VaultTransitContext transitContext)
Rewrap the provided ciphertext using the latest version of the named key.
|
Modifier and Type | Method and Description |
---|---|
VaultTransitContext |
VaultTransitContext.VaultTransitRequestBuilder.build()
Build a new
VaultTransitContext instance. |
static VaultTransitContext |
VaultTransitContext.empty() |
static VaultTransitContext |
VaultTransitContext.fromContext(byte[] context)
Create a
VaultTransitContext given context bytes. |
static VaultTransitContext |
VaultTransitContext.fromNonce(byte[] nonce)
Create a
VaultTransitContext given nonce bytes. |
VaultTransitContext |
Plaintext.getContext() |
VaultTransitContext |
Ciphertext.getContext() |
Modifier and Type | Method and Description |
---|---|
Plaintext |
Plaintext.with(VaultTransitContext context)
Create a new
Plaintext object from this plaintext associated with the given
VaultTransitContext . |
Ciphertext |
Ciphertext.with(VaultTransitContext context)
Create a new
Ciphertext object from this ciphertext associated with the
given VaultTransitContext . |
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.