Package org.gradle.plugins.signing
Interface SignatureSpec
- All Known Implementing Classes:
- Sign,- SignOperation
public interface SignatureSpec
Specifies how objects will be signed.
- 
Method SummaryModifier and TypeMethodDescriptionThe signatory that will be performing the signing.The signature representation that will be created.booleanWhether or not it is required that this signature be generated.voidsetRequired(boolean required) Whether or not it is required that this signature be generated.voidsetSignatory(Signatory signatory) Sets the signatory that will be signing the input.voidSets the signature representation that the signatures will be produced as.
- 
Method Details- 
getSignatorySignatory getSignatory()The signatory that will be performing the signing.- Returns:
- the signatory, or nullif none specified.
 
- 
setSignatorySets the signatory that will be signing the input.- Parameters:
- signatory- The signatory
 
- 
getSignatureTypeSignatureType getSignatureType()The signature representation that will be created.- Returns:
- the signature type, or nullif none specified.
 
- 
setSignatureTypeSets the signature representation that the signatures will be produced as.- Parameters:
- type- the signature type to use
 
- 
isRequiredboolean isRequired()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.- Returns:
- Whether or not it is required that this signature be generated.
 
- 
setRequiredvoid setRequired(boolean required) Whether or not it is required that this signature be generated.- Parameters:
- required- Whether or not it is required that this signature be generated.
- See Also:
 
 
-