Uses of Class
org.springframework.vault.support.VaultTransitContext
Package
Description
Vault core support.
Classes supporting the Vault packages, such as value objects.
-
Uses of VaultTransitContext in org.springframework.vault.core
Modifier and TypeMethodDescriptionbyte[]
VaultTransitOperations.decrypt
(String keyName, String ciphertext, VaultTransitContext transitContext) Decrypts the providedciphertext
using the named key.byte[]
VaultTransitTemplate.decrypt
(String keyName, String ciphertext, VaultTransitContext transitContext) VaultTransitOperations.encrypt
(String keyName, byte[] plaintext, VaultTransitContext transitRequest) Encrypts the providedplaintext
using the named key.VaultTransitTemplate.encrypt
(String keyName, byte[] plaintext, VaultTransitContext transitContext) VaultTransitOperations.rewrap
(String keyName, String ciphertext, VaultTransitContext transitContext) Rewrap the provided cipher text using the latest version of the named key.VaultTransitTemplate.rewrap
(String keyName, String ciphertext, VaultTransitContext transitContext) -
Uses of VaultTransitContext in org.springframework.vault.support
Modifier and TypeMethodDescriptionVaultTransitContext.VaultTransitRequestBuilder.build()
Build a newVaultTransitContext
instance.static VaultTransitContext
VaultTransitContext.empty()
static VaultTransitContext
VaultTransitContext.fromContext
(byte[] context) Create aVaultTransitContext
givencontext
bytes.static VaultTransitContext
VaultTransitContext.fromNonce
(byte[] nonce) Create aVaultTransitContext
givennonce
bytes.Ciphertext.getContext()
Plaintext.getContext()
Modifier and TypeMethodDescriptionCiphertext.with
(VaultTransitContext context) Create a newCiphertext
object from this ciphertext associated with the givenVaultTransitContext
.Plaintext.with
(VaultTransitContext context) Create a newPlaintext
object from this plain text associated with the givenVaultTransitContext
.