be.fedict.eid.applet.service.signer.facets
Class XAdESSignatureFacet
java.lang.Object
be.fedict.eid.applet.service.signer.facets.XAdESSignatureFacet
- All Implemented Interfaces:
- SignatureFacet
public class XAdESSignatureFacet
- extends Object
- implements SignatureFacet
XAdES Signature Facet. Implements XAdES v1.4.1 which is compatible with XAdES
v1.3.2. The implemented XAdES format is XAdES-BES. It's up to another part of
the signature service to upgrade the XAdES-BES to a XAdES-X-L.
- Author:
- Frank Cornelis
- See Also:
http://en.wikipedia.org/wiki/XAdES
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAdESSignatureFacet
public XAdESSignatureFacet()
postSign
public void postSign(Element signatureElement,
List<X509Certificate> signingCertificateChain)
- Description copied from interface:
SignatureFacet
- This method is being invoked by the XML signature service engine during
the post-sign phase. Via this method a signature facet can extend the XML
signatures with for example key information.
- Specified by:
postSign
in interface SignatureFacet
preSign
public void preSign(XMLSignatureFactory signatureFactory,
Document document,
String signatureId,
List<X509Certificate> signingCertificateChain,
List<Reference> references,
List<XMLObject> objects)
throws NoSuchAlgorithmException,
InvalidAlgorithmParameterException
- Description copied from interface:
SignatureFacet
- This method is being invoked by the XML signature service engine during
pre-sign phase. Via this method a signature facet implementation can add
signature facets to an XML signature.
- Specified by:
preSign
in interface SignatureFacet
signingCertificateChain
- the optional signing certificate chain
- Throws:
NoSuchAlgorithmException
InvalidAlgorithmParameterException
Copyright © 2008-2010 FedICT. All Rights Reserved.