| 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 |
|---|---|
Ciphertext |
VaultTransitTemplate.encrypt(String keyName,
Plaintext plaintext) |
Ciphertext |
VaultTransitOperations.encrypt(String keyName,
Plaintext plaintext)
Encrypts the provided
plaintext using the named key. |
| Modifier and Type | Method and Description |
|---|---|
Plaintext |
VaultTransitTemplate.decrypt(String keyName,
Ciphertext ciphertext) |
Plaintext |
VaultTransitOperations.decrypt(String keyName,
Ciphertext ciphertext)
Decrypts the provided cipher text using the named key.
|
| Modifier and Type | Method and Description |
|---|---|
List<VaultDecryptionResult> |
VaultTransitTemplate.decrypt(String keyName,
List<Ciphertext> batchRequest) |
List<VaultDecryptionResult> |
VaultTransitOperations.decrypt(String keyName,
List<Ciphertext> batchRequest)
Decrypts the provided barch of cipher text using the named key and context.
|
| Modifier and Type | Method and Description |
|---|---|
protected Ciphertext |
VaultEncryptionResult.get0() |
static Ciphertext |
Ciphertext.of(String ciphertext)
Factory method to create
Ciphertext from the given ciphertext. |
Ciphertext |
Ciphertext.with(VaultTransitContext context)
Create a new
Ciphertext object from this ciphertext associated with the
given VaultTransitContext. |
| Constructor and Description |
|---|
VaultEncryptionResult(Ciphertext cipherText)
Create
VaultEncryptionResult for a successfully encrypted
Ciphertext . |
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.