Klasse PgpSignatory
java.lang.Object
org.gradle.plugins.signing.signatory.SignatorySupport
org.gradle.plugins.signing.signatory.pgp.PgpSignatory
- Alle implementierten Schnittstellen:
Signatory
PGP signatory from PGP key and password.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPgpSignatory(String name, org.bouncycastle.openpgp.PGPSecretKey secretKey, String password) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.bouncycastle.openpgp.PGPSignatureGeneratorgetKeyId()Returns the id of the key that will be used for signing.final StringgetName()An identifying name for this signatory.voidsign(InputStream toSign, OutputStream signatureDestination) ExhauststoSign, and writes the signature tosignatureDestination.Von Klasse geerbte Methoden org.gradle.plugins.signing.signatory.SignatorySupport
sign
-
Konstruktordetails
-
PgpSignatory
-
-
Methodendetails
-
getName
Beschreibung aus Schnittstelle kopiert:SignatoryAn identifying name for this signatory.
The name must be constant for the life of the signatory and should uniquely identify it within a project.
-
sign
ExhauststoSign, and writes the signature tosignatureDestination. The caller is responsible for closing the streams, though the output WILL be flushed.- Parameter:
toSign- The source of the data to be signedsignatureDestination- Where the signature will be written to
-
getKeyId
Beschreibung aus Schnittstelle kopiert:SignatoryReturns the id of the key that will be used for signing.- Gibt zurück:
- The key id
-
createSignatureGenerator
public org.bouncycastle.openpgp.PGPSignatureGenerator createSignatureGenerator()
-