org.gradle.plugins.signing.signatory.pgp
[Groovy] Class PgpSignatory
java.lang.Object
org.gradle.plugins.signing.signatory.SignatorySupport
org.gradle.plugins.signing.signatory.pgp.PgpSignatory
class PgpSignatory
extends SignatorySupport
name
final String name
-
PgpSignatory
PgpSignatory(String name, PGPSecretKey secretKey, String password)
-
createSignatureGenerator
PGPSignatureGenerator createSignatureGenerator()
-
getKeyId
PgpKeyId getKeyId()
-
sign
void sign(InputStream toSign, OutputStream signatureDestination)
- Exhausts toSign, and writes the signature to signatureDestination.
The caller is responsible for closing the streams, though the output WILL be flushed.
Gradle API 1.12