SignatureTypepublic class ArmoredSignatureType extends AbstractSignatureType
| Constructor | Description |
|---|---|
ArmoredSignatureType() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getExtension() |
The file extension (without the leading dot) associated to this type of signature.
|
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.
|
combinedExtension, fileFor, signpublic java.lang.String getExtension()
SignatureTypepublic void sign(Signatory signatory, java.io.InputStream toSign, java.io.OutputStream destination)
SignatureTypesign in interface SignatureTypesign in class AbstractSignatureTypesignatory - The signatorytoSign - The source of the data to be signeddestination - Where the signature will be written to