|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.fedict.eid.applet.service.signer.AbstractXmlSignatureService
be.fedict.eid.applet.service.signer.odf.AbstractODFSignatureService
public abstract class AbstractODFSignatureService
Signature Service implementation for OpenDocument format signatures. The signatures created with this class are accepted as valid signature within OpenOffice.org 3.x. They probably don't get accepted by older OOo versions.
http://wiki.services.openoffice.org/wiki/Security/Digital_Signatures
Constructor Summary | |
---|---|
AbstractODFSignatureService(DigestAlgo digestAlgo)
|
Method Summary | |
---|---|
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 javax.xml.crypto.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. |
Methods inherited from class be.fedict.eid.applet.service.signer.AbstractXmlSignatureService |
---|
addSignatureFacet, getCanonicalizationMethod, getSignatureDigestAlgorithm, getTemporaryDataStorage, loadDocument, loadDocumentNoClose, postSign, preSign, setSignatureId, setSignatureNamespacePrefix, writeDocument, writeDocumentNoClosing, writeDocumentNoClosing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractODFSignatureService(DigestAlgo digestAlgo)
Method Detail |
---|
protected XAdESSignatureFacet getXAdESSignatureFacet()
protected abstract URL getOpenDocumentURL()
protected final javax.xml.crypto.URIDereferencer getURIDereferencer()
AbstractXmlSignatureService
getURIDereferencer
in class AbstractXmlSignatureService
protected String getSignatureDescription()
AbstractXmlSignatureService
getSignatureDescription
in class AbstractXmlSignatureService
protected final OutputStream getSignedDocumentOutputStream()
AbstractXmlSignatureService
getSignedDocumentOutputStream
in class AbstractXmlSignatureService
protected abstract OutputStream getSignedOpenDocumentOutputStream()
public final String getFilesDigestAlgorithm()
protected final Document getEnvelopingDocument() throws ParserConfigurationException, IOException, SAXException
AbstractXmlSignatureService
null
in case
ds:Signature should be the top-level element. Implementations can
override this method to provide a custom enveloping document.
getEnvelopingDocument
in class AbstractXmlSignatureService
IOException
SAXException
ParserConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |