PgpSignatory

PGP signatory from PGP key and password.

Constructors

Link copied to clipboard
constructor(name: String, secretKey: PGPSecretKey, password: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun createSignatureGenerator(): PGPSignatureGenerator
Link copied to clipboard
open fun getKeyId(): String
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
open fun sign(toSign: InputStream): Array<Byte>

open fun sign(toSign: InputStream, signatureDestination: OutputStream)
Exhausts toSign, and writes the signature to signatureDestination.