public static class VaultSignRequest.VaultSignRequestBuilder extends Object
VaultSignRequest.| Constructor and Description |
|---|
VaultSignRequestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
VaultSignRequest.VaultSignRequestBuilder |
algorithm(String algorithm)
Deprecated.
since 2.4, use
signatureAlgorithm(String) instead. |
VaultSignRequest |
build()
Build a new
VaultSignRequest instance. |
VaultSignRequest.VaultSignRequestBuilder |
hashAlgorithm(String hashAlgorithm)
Configure the hash algorithm to be used for the operation.
|
VaultSignRequest.VaultSignRequestBuilder |
plaintext(Plaintext input)
Configure the input to be used to create the signature.
|
VaultSignRequest.VaultSignRequestBuilder |
signatureAlgorithm(String signatureAlgorithm)
Configure the signature algorithm to be used for the operation when using an
RSA key.
|
public VaultSignRequest.VaultSignRequestBuilder plaintext(Plaintext input)
input - base input to create the signature, must not be null.this VaultSignRequest.VaultSignRequestBuilder.public VaultSignRequest.VaultSignRequestBuilder hashAlgorithm(String hashAlgorithm)
hashAlgorithm - Specify the hash algorithm to be used for the operation.
Supported algorithms are: sha1, sha2-224,
sha2-256, sha2-384, sha2-512. Defaults to
sha2-256 if not set.this VaultSignRequest.VaultSignRequestBuilder.public VaultSignRequest.VaultSignRequestBuilder signatureAlgorithm(String signatureAlgorithm)
signatureAlgorithm - Specify the signature algorithm to be used for the
operation. Supported algorithms are: pss, pkcs1v15.
Defaults to pss if not set.this VaultSignRequest.VaultSignRequestBuilder.@Deprecated public VaultSignRequest.VaultSignRequestBuilder algorithm(String algorithm)
signatureAlgorithm(String) instead.algorithm - Specify the algorithm to be used for the operation. Supported
algorithms are: sha2-224, sha2-256, sha2-384,
sha2-512. Defaults to sha2-256 if not set.this VaultSignRequest.VaultSignRequestBuilder.public VaultSignRequest build()
VaultSignRequest instance. Requires
plaintext(Plaintext) to be configured.VaultSignRequest.Copyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.