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 |
VaultTransitOperations.decrypt(String keyName,
Ciphertext ciphertext)
Decrypts the provided plaintext using the named key.
|
Plaintext |
VaultTransitTemplate.decrypt(String keyName,
Ciphertext ciphertext) |
Modifier and Type | Method and Description |
---|---|
Ciphertext |
VaultTransitOperations.encrypt(String keyName,
Plaintext plaintext)
Encrypts the provided plaintext using the named key.
|
Ciphertext |
VaultTransitTemplate.encrypt(String keyName,
Plaintext plaintext) |
Modifier and Type | Method and Description |
---|---|
List<VaultEncryptionResult> |
VaultTransitOperations.encrypt(String keyName,
List<Plaintext> batchRequest)
Encrypts the provided batch of plaintext using the named key and context.
|
List<VaultEncryptionResult> |
VaultTransitTemplate.encrypt(String keyName,
List<Plaintext> batchRequest) |
Modifier and Type | Method and Description |
---|---|
protected Plaintext |
VaultDecryptionResult.get0() |
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 . |
Constructor and Description |
---|
VaultDecryptionResult(Plaintext plaintext)
Create
VaultDecryptionResult for a successfully decrypted Plaintext
. |
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.