AbstractSignatureType, ArmoredSignatureType, BinarySignatureTypepublic interface SignatureType
| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.String | combinedExtension(java.io.File toSign) | Combines the extension of the given file with the expected signature extension. | 
| java.io.File | fileFor(java.io.File toSign) | Calculates the file where to store the signature of the given file to be signed. | 
| java.lang.String | getExtension() | The file extension (without the leading dot) associated to this type of signature. | 
| java.io.File | sign(Signatory signatory,
    java.io.File toSign) | Signs the given file and returns the file where the signature has been written to. | 
| void | sign(Signatory signatory,
    java.io.InputStream toSign,
    java.io.OutputStream destination) | Signs the data from the given InputStream and stores the signature in the given OutputStream. | 
java.lang.String getExtension()
java.io.File fileFor(java.io.File toSign)
toSign - The file to be signedjava.lang.String combinedExtension(java.io.File toSign)
toSign - The file to be signedgetExtension()java.io.File sign(Signatory signatory, java.io.File toSign)
signatory - The signatorytoSign - The file to be signedvoid sign(Signatory signatory, java.io.InputStream toSign, java.io.OutputStream destination)
signatory - The signatorytoSign - The source of the data to be signeddestination - Where the signature will be written to