Class VaultHmacRequest
java.lang.Object
org.springframework.vault.support.VaultHmacRequest
Request for a HMAC Digest.
- Since:
- 2.0
- Author:
- Luander Ribeiro, Mark Paluch
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static VaultHmacRequest
Create a newVaultHmacRequest
givenPlaintext
.
-
Method Details
-
builder
- Returns:
- a new instance of
VaultHmacRequest.VaultHmacRequestBuilder
.
-
create
Create a newVaultHmacRequest
givenPlaintext
. Uses the default signature algorithm.- Returns:
- a new
VaultHmacRequest
for the giveninput
.
-
getPlaintext
- Returns:
- plain text input used as basis to generate the digest.
-
getAlgorithm
- Returns:
- algorithm used for creating the digest or null to use the default algorithm.
-
getKeyVersion
- Returns:
- version of the key used or null to use the the latest version.
-