Type | Name and description |
---|---|
String |
name |
Constructor and description |
---|
PgpSignatory
(String name, PGPSecretKey secretKey, String password) |
Type | Name and description |
---|---|
PGPSignatureGenerator |
createSignatureGenerator() |
PgpKeyId |
getKeyId() |
void |
sign(InputStream toSign, OutputStream signatureDestination) Exhausts toSign , and writes the signature to signatureDestination . |
Methods inherited from class | Name |
---|---|
class SignatorySupport |
sign |
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.0