Interface SignatureType
- All Known Implementing Classes:
AbstractSignatureType, ArmoredSignatureType, BinarySignatureType
public interface SignatureType
The type of signature.
-
Method Summary
Modifier and TypeMethodDescriptioncombinedExtension(File toSign) Combines the extension of the given file with the expected signature extension.Calculates the file where to store the signature of the given file to be signed.The file extension (without the leading dot) associated to this type of signature.Signs the given file and returns the file where the signature has been written to.voidsign(Signatory signatory, InputStream toSign, OutputStream destination) Signs the data from the given InputStream and stores the signature in the given OutputStream.
-
Method Details
-
getExtension
String getExtension()The file extension (without the leading dot) associated to this type of signature. -
fileFor
-
combinedExtension
-
sign
-
sign
Signs the data from the given InputStream and stores the signature in the given OutputStream.- Parameters:
signatory- The signatorytoSign- The source of the data to be signeddestination- Where the signature will be written to
-