public class ArmoredSignatureType extends AbstractSignatureType
| Constructor and Description |
|---|
ArmoredSignatureType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
The file extension (without the leading dot) associated to this type of signature.
|
void |
sign(Signatory signatory,
InputStream toSign,
OutputStream destination)
Signs the data from the given InputStream and stores the signature in the given OutputStream.
|
combinedExtension, fileFor, signpublic String getExtension()
SignatureTypepublic void sign(Signatory signatory, InputStream toSign, 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