public static class VaultSignRequest.VaultSignRequestBuilder extends Object
VaultSignRequest
.Constructor and Description |
---|
VaultSignRequestBuilder() |
Modifier and Type | Method and Description |
---|---|
VaultSignRequest.VaultSignRequestBuilder |
algorithm(String algorithm)
Configure the algorithm to be used for the operation.
|
VaultSignRequest |
build()
Build a new
VaultSignRequest instance. |
VaultSignRequest.VaultSignRequestBuilder |
plaintext(Plaintext input)
Configure the input to be used to create the signature.
|
public VaultSignRequest.VaultSignRequestBuilder plaintext(Plaintext input)
input
- base input to create the signature, must not be null.this
VaultSignRequest.VaultSignRequestBuilder
.public VaultSignRequest.VaultSignRequestBuilder algorithm(String algorithm)
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–2019 Pivotal Software, Inc.. All rights reserved.