Groovy Documentation

org.gradle.plugins.signing
[Groovy] Interface SignatureSpec


interface SignatureSpec

Specifies how objects will be signed.


Method Summary
Signatory getSignatory()

The signatory that will be performing the signing.

SignatureType getSignatureType()

The signature representation that will be created.

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.

 

Method Detail

getSignatory

Signatory getSignatory()
The signatory that will be performing the signing.
Returns:
the signatory, or null if none specified.


getSignatureType

SignatureType getSignatureType()
The signature representation that will be created.
Returns:
the signature type, or null if none specified.


setSignatory

void setSignatory(Signatory signatory)
Sets the signatory that will be signing the input.
Parameters:
signatory - The signatory


setSignatureType

void setSignatureType(SignatureType type)
Sets the signature representation that the signatures will be produced as.
Parameters:
type - the signature type to use


 

Groovy Documentation