Uses of Class
org.springframework.vault.support.Plaintext
Package
Description
Vault core support.
Classes supporting the Vault packages, such as value objects.
-
Uses of Plaintext in org.springframework.vault.core
Modifier and TypeMethodDescriptionVaultTransitOperations.decrypt
(String keyName, Ciphertext ciphertext) Decrypts the provided cipher text using the named key.VaultTransitTemplate.decrypt
(String keyName, Ciphertext ciphertext) Modifier and TypeMethodDescriptionEncrypts the providedplaintext
using the named key.Create a HMAC usingkeyName
of givenPlaintext
using the default hash algorithm.Create a cryptographic signature usingkeyName
of the givenPlaintext
and the default hash algorithm.boolean
boolean
Modifier and TypeMethodDescriptionEncrypts the provided batch ofplaintext
using the named key and context. -
Uses of Plaintext in org.springframework.vault.support
Modifier and TypeMethodDescriptionstatic Plaintext
Plaintext.empty()
Factory method to create an emptyPlaintext
.protected Plaintext
VaultDecryptionResult.get0()
VaultHmacRequest.getPlaintext()
VaultSignatureVerificationRequest.getPlaintext()
VaultSignRequest.getPlaintext()
static Plaintext
Plaintext.of
(byte[] plaintext) Factory method to createPlaintext
from a byte sequence.static Plaintext
static Plaintext
Plaintext.with
(VaultTransitContext context) Create a newPlaintext
object from this plain text associated with the givenVaultTransitContext
.Modifier and TypeMethodDescriptionstatic VaultHmacRequest
Create a newVaultHmacRequest
givenPlaintext
.static VaultSignRequest
Create a newVaultSignRequest
givenPlaintext
.Configure the input to be used to create the digest.VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder.plaintext
(Plaintext input) Configure thePlaintext
input to be used to verify the signature.Configure the input to be used to create the signature.ModifierConstructorDescriptionVaultDecryptionResult
(Plaintext plaintext) CreateVaultDecryptionResult
for a successfully decryptedPlaintext
.