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, Nanne Baars
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static VaultSignRequest
Create a newVaultSignRequest
givenPlaintext
.Deprecated.boolean
-
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.
-
isPrehashed
public boolean isPrehashed()- Returns:
- true if the input is already hashed.
- Since:
- 3.1
-
getSignatureAlgorithm()
instead.