interface SignatureType
The type of signature.
abstract fun combinedExtension(toSign: File): String
Combines the extension of the given file with the expected signature extension. |
|
abstract fun fileFor(toSign: File): File
Calculates the file where to store the signature of the given file to be signed. |
|
abstract fun getExtension(): String
The file extension (without the leading dot) associated to this type of signature. |
|
abstract fun sign(signatory: Signatory, toSign: File): File
Signs the given file and returns the file where the signature has been written to. abstract fun sign(signatory: Signatory, toSign: InputStream, destination: OutputStream): Unit
Signs the data from the given InputStream and stores the signature in the given OutputStream. |
abstract class AbstractSignatureType : SignatureType
Convenience base class for SignatureType implementations. |