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 TypeMethodDescriptionMono<byte[]>
ReactiveVaultTransitOperations.decrypt
(String keyName, String ciphertext, VaultTransitContext transitContext) Decrypts the providedciphertext
using the named key.Mono<byte[]>
ReactiveVaultTransitTemplate.decrypt
(String keyName, String ciphertext, VaultTransitContext transitContext) byte[]
VaultTransitOperations.decrypt
(String keyName, String ciphertext, VaultTransitContext transitContext) Decrypts the providedciphertext
using the named key.byte[]
VaultTransitTemplate.decrypt
(String keyName, String ciphertext, VaultTransitContext transitContext) ReactiveVaultTransitOperations.encrypt
(String keyName, byte[] plaintext, VaultTransitContext transitRequest) Encrypts the providedplaintext
using the named key.ReactiveVaultTransitTemplate.encrypt
(String keyName, byte[] plaintext, 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) ReactiveVaultTransitOperations.rewrap
(String keyName, String ciphertext, VaultTransitContext transitContext) Rewrap the provided cipher text using the latest version of the named key.ReactiveVaultTransitTemplate.rewrap
(String keyName, String ciphertext, 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
.