Sign
, SignOperation
public interface SignatureSpec
Modifier and Type | Method | Description |
---|---|---|
Signatory |
getSignatory() |
The signatory that will be performing the signing.
|
SignatureType |
getSignatureType() |
The signature representation that will be created.
|
boolean |
isRequired() |
Whether or not it is required that this signature be generated.
|
void |
setRequired(boolean required) |
Whether or not it is required that this signature be generated.
|
void |
setSignatory(Signatory signatory) |
Sets the signatory that will be signing the input.
|
void |
setSignatureType(SignatureType type) |
Sets the signature representation that the signatures will be produced as.
|
Signatory getSignatory()
null
if none specified.void setSignatory(Signatory signatory)
signatory
- The signatorySignatureType getSignatureType()
null
if none specified.void setSignatureType(SignatureType type)
type
- the signature type to useboolean isRequired()
void setRequired(boolean required)
required
- Whether or not it is required that this signature be generated.isRequired()