Uses of Class
org.springframework.vault.support.Plaintext
Packages that use Plaintext
Package
Description
Vault core support.
Classes supporting the Vault packages, such as value objects.
-
Uses of Plaintext in org.springframework.vault.core
Methods in org.springframework.vault.core that return PlaintextModifier and TypeMethodDescriptionVaultTransitOperations.decrypt
(String keyName, Ciphertext ciphertext) Decrypts the provided cipher text using the named key.VaultTransitTemplate.decrypt
(String keyName, Ciphertext ciphertext) Methods in org.springframework.vault.core with parameters of type PlaintextModifier 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
Method parameters in org.springframework.vault.core with type arguments of type PlaintextModifier and TypeMethodDescriptionEncrypts the provided batch ofplaintext
using the named key and context. -
Uses of Plaintext in org.springframework.vault.support
Methods in org.springframework.vault.support that return PlaintextModifier 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
.Methods in org.springframework.vault.support with parameters of type PlaintextModifier 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.Constructors in org.springframework.vault.support with parameters of type PlaintextModifierConstructorDescriptionVaultDecryptionResult
(Plaintext plaintext) CreateVaultDecryptionResult
for a successfully decryptedPlaintext
.