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 |
---|---|
Plaintext |
VaultTransitTemplate.decrypt(String keyName,
Ciphertext ciphertext) |
Plaintext |
VaultTransitOperations.decrypt(String keyName,
Ciphertext ciphertext)
Decrypts the provided plaintext using the named key.
|
Modifier and Type | Method and Description |
---|---|
Ciphertext |
VaultTransitTemplate.encrypt(String keyName,
Plaintext plaintext) |
Ciphertext |
VaultTransitOperations.encrypt(String keyName,
Plaintext plaintext)
Encrypts the provided plaintext using the named key.
|
Hmac |
VaultTransitTemplate.getHmac(String keyName,
Plaintext plaintext) |
Hmac |
VaultTransitOperations.getHmac(String keyName,
Plaintext plaintext)
Create a HMAC using
keyName of given Plaintext using the default
hash algorithm. |
Signature |
VaultTransitTemplate.sign(String keyName,
Plaintext plaintext) |
Signature |
VaultTransitOperations.sign(String keyName,
Plaintext plaintext)
Create a cryptographic signature using
keyName of the given
Plaintext and the default hash algorithm. |
boolean |
VaultTransitTemplate.verify(String keyName,
Plaintext plainText,
Signature signature) |
boolean |
VaultTransitOperations.verify(String keyName,
Plaintext plaintext,
Signature signature)
|
Modifier and Type | Method and Description |
---|---|
List<VaultEncryptionResult> |
VaultTransitTemplate.encrypt(String keyName,
List<Plaintext> batchRequest) |
List<VaultEncryptionResult> |
VaultTransitOperations.encrypt(String keyName,
List<Plaintext> batchRequest)
Encrypts the provided batch of plaintext using the named key and context.
|
Modifier and Type | Method and Description |
---|---|
static Plaintext |
Plaintext.empty()
Factory method to create an empty
Plaintext . |
protected Plaintext |
VaultDecryptionResult.get0() |
Plaintext |
VaultSignRequest.getPlaintext() |
Plaintext |
VaultSignatureVerificationRequest.getPlaintext() |
Plaintext |
VaultHmacRequest.getPlaintext() |
static Plaintext |
Plaintext.of(byte[] plaintext)
Factory method to create
Plaintext from a byte sequence. |
static Plaintext |
Plaintext.of(String plaintext)
|
Plaintext |
Plaintext.with(VaultTransitContext context)
Create a new
Plaintext object from this plaintext associated with the given
VaultTransitContext . |
Modifier and Type | Method and Description |
---|---|
static VaultSignRequest |
VaultSignRequest.create(Plaintext input)
Create a new
VaultSignRequest given Plaintext . |
static VaultHmacRequest |
VaultHmacRequest.create(Plaintext input)
Create a new
VaultHmacRequest given Plaintext . |
static VaultSignatureVerificationRequest |
VaultSignatureVerificationRequest.create(Plaintext plaintext,
Hmac hmac)
|
static VaultSignatureVerificationRequest |
VaultSignatureVerificationRequest.create(Plaintext plaintext,
Signature signature)
|
VaultSignRequest.VaultSignRequestBuilder |
VaultSignRequest.VaultSignRequestBuilder.plaintext(Plaintext input)
Configure the input to be used to create the signature.
|
VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder |
VaultSignatureVerificationRequest.VaultSignatureVerificationRequestBuilder.plaintext(Plaintext input)
Configure the
Plaintext input to be used to verify the signature. |
VaultHmacRequest.VaultHmacRequestBuilder |
VaultHmacRequest.VaultHmacRequestBuilder.plaintext(Plaintext input)
Configure the input to be used to create the digest.
|
Constructor and Description |
---|
VaultDecryptionResult(Plaintext plaintext)
Create
VaultDecryptionResult for a successfully decrypted Plaintext
. |
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.