Specifies how objects will be signed.
Type | Name and 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. |
The signatory that will be performing the signing.
null
if none specified.The signature representation that will be created.
null
if none specified.Whether or not it is required that this signature be generated. A signature may not be able to be generated if a signatory and/or a signature type have not been specified. If it is required and cannot be generated, an exception will be thrown. Otherwise, it will not be generated.
Whether or not it is required that this signature be generated.
Whether
- or not it is required that this signature be generated.Sets the signatory that will be signing the input.
signatory
- The signatorySets the signature representation that the signatures will be produced as.
type
- the signature type to use