Class ArmoredSignatureType
- java.lang.Object
-
- org.gradle.plugins.signing.type.AbstractSignatureType
-
- org.gradle.plugins.signing.type.pgp.ArmoredSignatureType
-
- All Implemented Interfaces:
SignatureType
public class ArmoredSignatureType extends AbstractSignatureType
Armored signature type.
-
-
Constructor Summary
Constructors Constructor Description ArmoredSignatureType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExtension()The file extension (without the leading dot) associated to this type of signature.voidsign(Signatory signatory, java.io.InputStream toSign, java.io.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
-
-
-
-
Method Detail
-
getExtension
public java.lang.String getExtension()
Description copied from interface:SignatureTypeThe file extension (without the leading dot) associated to this type of signature.
-
sign
public void sign(Signatory signatory, java.io.InputStream toSign, java.io.OutputStream destination)
Description copied from interface:SignatureTypeSigns the data from the given InputStream and stores the signature in the given OutputStream.- Specified by:
signin interfaceSignatureType- Overrides:
signin classAbstractSignatureType- Parameters:
signatory- The signatorytoSign- The source of the data to be signeddestination- Where the signature will be written to
-
-