Class VaultSignRequest
java.lang.Object
org.springframework.vault.support.VaultSignRequest
Request for a signature creation request.
- Since:
- 2.0
- Author:
- Luander Ribeiro, Mark Paluch, My-Lan Aragon
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static VaultSignRequest
Create a newVaultSignRequest
givenPlaintext
.Deprecated.
-
Method Details
-
builder
- Returns:
- a new instance of
VaultSignRequest.VaultSignRequestBuilder
.
-
create
Create a newVaultSignRequest
givenPlaintext
. Uses the default algorithm.- Returns:
- a new
VaultSignRequest
for the giveninput
.
-
getPlaintext
- Returns:
- plain text input used as basis to generate the signature.
-
getHashAlgorithm
- Returns:
- hashAlgorithm used for creating the signature or null to use the default hash algorithm.
- Since:
- 2.4
-
getSignatureAlgorithm
- Returns:
- signatureAlgorithm used for creating the signature when using an RSA key or null to use the default signature algorithm.
- Since:
- 2.4
-
getAlgorithm
Deprecated.since 2.4, usegetSignatureAlgorithm()
instead.- Returns:
- algorithm used for creating the signature or null to use the default algorithm.
-
getSignatureAlgorithm()
instead.