public abstract class AbstractODFSignatureService extends AbstractXmlSignatureService
http://wiki.services.openoffice.org/wiki/Security/Digital_Signatures| Constructor and Description |
|---|
AbstractODFSignatureService(DigestAlgo digestAlgo) |
| Modifier and Type | Method and Description |
|---|---|
protected Document |
getEnvelopingDocument()
Gives back the enveloping document.
|
String |
getFilesDigestAlgorithm() |
protected abstract URL |
getOpenDocumentURL()
Returns the URL of the ODF to be signed.
|
protected String |
getSignatureDescription()
Gives back the human-readable description of what the citizen will be
signing.
|
protected OutputStream |
getSignedDocumentOutputStream()
Gives back the output stream to which to write the signed XML document.
|
protected abstract OutputStream |
getSignedOpenDocumentOutputStream()
The output stream to which to write the signed ODF file.
|
protected URIDereferencer |
getURIDereferencer()
Override this method to change the URI dereferener used by the signing
engine.
|
protected XAdESSignatureFacet |
getXAdESSignatureFacet()
Gives back the used XAdES signature facet.
|
addSignatureFacet, getCanonicalizationMethod, getSignatureDigestAlgorithm, getTemporaryDataStorage, loadDocument, loadDocumentNoClose, postSign, preSign, setSignatureId, setSignatureNamespacePrefix, writeDocument, writeDocumentNoClosing, writeDocumentNoClosingpublic AbstractODFSignatureService(DigestAlgo digestAlgo)
protected XAdESSignatureFacet getXAdESSignatureFacet()
protected abstract URL getOpenDocumentURL()
protected final URIDereferencer getURIDereferencer()
AbstractXmlSignatureServicegetURIDereferencer in class AbstractXmlSignatureServiceprotected String getSignatureDescription()
AbstractXmlSignatureServicegetSignatureDescription in class AbstractXmlSignatureServiceprotected final OutputStream getSignedDocumentOutputStream()
AbstractXmlSignatureServicegetSignedDocumentOutputStream in class AbstractXmlSignatureServiceprotected abstract OutputStream getSignedOpenDocumentOutputStream()
public final String getFilesDigestAlgorithm()
protected final Document getEnvelopingDocument() throws ParserConfigurationException, IOException, SAXException
AbstractXmlSignatureServicenull in case
ds:Signature should be the top-level element. Implementations can
override this method to provide a custom enveloping document.getEnvelopingDocument in class AbstractXmlSignatureServiceIOExceptionSAXExceptionParserConfigurationExceptionCopyright © 2008-2018 FedICT. All Rights Reserved.