|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.fedict.eid.applet.service.signer.ooxml.OOXMLSignatureFacet
public class OOXMLSignatureFacet
Office OpenXML Signature Facet implementation.
http://msdn.microsoft.com/en-us/library/cc313071.aspx
Constructor Summary | |
---|---|
OOXMLSignatureFacet(AbstractOOXMLSignatureService signatureService)
Main constructor. |
Method Summary | |
---|---|
protected Document |
findDocument(String zipEntryName)
|
protected Document |
loadDocument(String zipEntryName)
|
void |
postSign(Element signatureElement,
List<X509Certificate> signingCertificateChain)
This method is being invoked by the XML signature service engine during the post-sign phase. |
void |
preSign(XMLSignatureFactory signatureFactory,
Document document,
String signatureId,
List<X509Certificate> signingCertificateChain,
List<Reference> references,
List<XMLObject> objects)
This method is being invoked by the XML signature service engine during pre-sign phase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OOXMLSignatureFacet(AbstractOOXMLSignatureService signatureService)
ooxmlUrl
- Method Detail |
---|
public void preSign(XMLSignatureFactory signatureFactory, Document document, String signatureId, List<X509Certificate> signingCertificateChain, List<Reference> references, List<XMLObject> objects) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
SignatureFacet
preSign
in interface SignatureFacet
signingCertificateChain
- the optional signing certificate chain
NoSuchAlgorithmException
InvalidAlgorithmParameterException
protected Document loadDocument(String zipEntryName) throws IOException, ParserConfigurationException, SAXException
IOException
ParserConfigurationException
SAXException
protected Document findDocument(String zipEntryName) throws IOException, ParserConfigurationException, SAXException
IOException
ParserConfigurationException
SAXException
public void postSign(Element signatureElement, List<X509Certificate> signingCertificateChain)
SignatureFacet
postSign
in interface SignatureFacet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |