| Constructor and description |
|---|
PgpSignatory
(String name, org.bouncycastle.openpgp.PGPSecretKey secretKey, String password) |
| Type | Name and description |
|---|---|
org.bouncycastle.openpgp.PGPSignatureGenerator |
createSignatureGenerator() |
PgpKeyId |
getKeyId() |
void |
sign(InputStream toSign, OutputStream signatureDestination)Exhausts toSign, and writes the signature to 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 2.9