open class PgpSignatory : SignatorySupport
PGP signatory from PGP key and password.
PgpSignatory(name: String, secretKey: PGPSecretKey, password: String) |
open fun createSignatureGenerator(): PGPSignatureGenerator |
|
open fun getKeyId(): String |
|
fun getName(): String |
|
open fun sign(toSign: InputStream, signatureDestination: OutputStream): Unit
Exhausts |
open fun sign(toSign: InputStream): ByteArray |