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 |
---|---|
byte[] |
VaultTransitTemplate.decrypt(String keyName,
String ciphertext,
VaultTransitContext transitContext) |
byte[] |
VaultTransitOperations.decrypt(String keyName,
String ciphertext,
VaultTransitContext transitContext)
Decrypts the provided
ciphertext using the named key. |
String |
VaultTransitTemplate.encrypt(String keyName,
byte[] plaintext,
VaultTransitContext transitContext) |
String |
VaultTransitOperations.encrypt(String keyName,
byte[] plaintext,
VaultTransitContext transitRequest)
Encrypts the provided
plaintext using the named key. |
String |
VaultTransitTemplate.rewrap(String keyName,
String ciphertext,
VaultTransitContext transitContext) |
String |
VaultTransitOperations.rewrap(String keyName,
String ciphertext,
VaultTransitContext transitContext)
Rewrap the provided cipher text using the latest version of the named key.
|
Modifier and Type | Method and Description |
---|---|
VaultTransitContext |
VaultTransitContext.VaultTransitRequestBuilder.build()
Build a new
VaultTransitContext instance. |
static VaultTransitContext |
VaultTransitContext.empty() |
static VaultTransitContext |
VaultTransitContext.fromContext(byte[] context)
Create a
VaultTransitContext given context bytes. |
static VaultTransitContext |
VaultTransitContext.fromNonce(byte[] nonce)
Create a
VaultTransitContext given nonce bytes. |
VaultTransitContext |
Plaintext.getContext() |
VaultTransitContext |
Ciphertext.getContext() |
Modifier and Type | Method and Description |
---|---|
Plaintext |
Plaintext.with(VaultTransitContext context)
Create a new
Plaintext object from this plain text associated with the
given VaultTransitContext . |
Ciphertext |
Ciphertext.with(VaultTransitContext context)
Create a new
Ciphertext object from this ciphertext associated with the
given VaultTransitContext . |
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.