Package org.gradle.plugins.signing.type
Klasse AbstractSignatureType
java.lang.Object
org.gradle.plugins.signing.type.AbstractSignatureType
- Alle implementierten Schnittstellen:
SignatureType
- Bekannte direkte Unterklassen:
ArmoredSignatureType,BinarySignatureType
Convenience base class for
SignatureType implementations.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcombinedExtension(File toSign) Combines the extension of the given file with the expected signature extension.Calculates the file where to store the signature of the given file to be signed.Signs the given file and returns the file where the signature has been written to.voidsign(Signatory signatory, InputStream toSign, OutputStream destination) Signs the data from the given InputStream and stores the signature in the given OutputStream.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.gradle.plugins.signing.type.SignatureType
getExtension
-
Konstruktordetails
-
AbstractSignatureType
public AbstractSignatureType()
-
-
Methodendetails
-
sign
Beschreibung aus Schnittstelle kopiert:SignatureTypeSigns the given file and returns the file where the signature has been written to.- Angegeben von:
signin SchnittstelleSignatureType- Parameter:
signatory- The signatorytoSign- The file to be signed- Gibt zurück:
- The file where the signature has been written to
-
sign
Beschreibung aus Schnittstelle kopiert:SignatureTypeSigns the data from the given InputStream and stores the signature in the given OutputStream.- Angegeben von:
signin SchnittstelleSignatureType- Parameter:
signatory- The signatorytoSign- The source of the data to be signeddestination- Where the signature will be written to
-
fileFor
Beschreibung aus Schnittstelle kopiert:SignatureTypeCalculates the file where to store the signature of the given file to be signed.- Angegeben von:
fileForin SchnittstelleSignatureType- Parameter:
toSign- The file to be signed- Gibt zurück:
- The file where to write the signature of the given file to be signed
-
combinedExtension
Beschreibung aus Schnittstelle kopiert:SignatureTypeCombines the extension of the given file with the expected signature extension.- Angegeben von:
combinedExtensionin SchnittstelleSignatureType- Parameter:
toSign- The file to be signed- Gibt zurück:
- The combined file extension (without the leading dot)
- Siehe auch:
-