@Incubating interface Signatory
A signatory is an object capable of providing a signature for an arbitrary stream of bytes.
Since
4.5
abstract fun getKeyId(): String
Returns the id of the key that will be used for signing. |
|
abstract fun getName(): String
An identifying name for this signatory. The name must be constant for the life of the signatory and should uniquely identify it within a project. |
|
abstract fun sign(toSign: InputStream, destination: OutputStream): Unit
Exhausts abstract fun sign(toSign: InputStream): ByteArray
Exhausts |
abstract class SignatorySupport : Signatory
Convenience base class for Signatory implementations. |