|
||||||||||
| 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()
|
|
| 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 URIDereferencer |
getURIDereferencer()
Override this method to change the URI dereferener used by the signing engine. |
| Methods inherited from class be.fedict.eid.applet.service.signer.AbstractXmlSignatureService |
|---|
addSignatureFacet, getCanonicalizationMethod, getSignatureDigestAlgorithm, getTemporaryDataStorage, loadDocument, loadDocumentNoClose, postSign, preSign, 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()
| Method Detail |
|---|
protected abstract URL getOpenDocumentURL()
protected final URIDereferencer getURIDereferencer()
AbstractXmlSignatureService
getURIDereferencer in class AbstractXmlSignatureServiceprotected String getSignatureDescription()
AbstractXmlSignatureService
getSignatureDescription in class AbstractXmlSignatureServiceprotected final OutputStream getSignedDocumentOutputStream()
AbstractXmlSignatureService
getSignedDocumentOutputStream 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 AbstractXmlSignatureServiceIOException
SAXException
ParserConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||