Class ArmoredSignatureType
java.lang.Object
org.gradle.plugins.signing.type.AbstractSignatureType
org.gradle.plugins.signing.type.pgp.ArmoredSignatureType
- All Implemented Interfaces:
SignatureType
Armored signature type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe file extension (without the leading dot) associated to this type of signature.void
sign
(Signatory signatory, InputStream toSign, OutputStream destination) Signs the data from the given InputStream and stores the signature in the given OutputStream.Methods inherited from class org.gradle.plugins.signing.type.AbstractSignatureType
combinedExtension, fileFor, sign
-
Constructor Details
-
ArmoredSignatureType
public ArmoredSignatureType()
-
-
Method Details
-
getExtension
Description copied from interface:SignatureType
The file extension (without the leading dot) associated to this type of signature. -
sign
Description copied from interface:SignatureType
Signs the data from the given InputStream and stores the signature in the given OutputStream.- Specified by:
sign
in interfaceSignatureType
- Overrides:
sign
in classAbstractSignatureType
- Parameters:
signatory
- The signatorytoSign
- The source of the data to be signeddestination
- Where the signature will be written to
-