public class KeyInfoSignatureFacet extends Object implements SignatureFacet
| Constructor and Description |
|---|
KeyInfoSignatureFacet(boolean includeEntireCertificateChain,
boolean includeIssuerSerial,
boolean includeKeyValue)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public KeyInfoSignatureFacet(boolean includeEntireCertificateChain,
boolean includeIssuerSerial,
boolean includeKeyValue)
includeEntireCertificateChain - includeIssuerSerial - includeKeyValue - public void postSign(Element signatureElement, List<X509Certificate> signingCertificateChain)
SignatureFacetpostSign in interface SignatureFacetpublic void preSign(XMLSignatureFactory signatureFactory, Document document, String signatureId, List<X509Certificate> signingCertificateChain, List<Reference> references, List<XMLObject> objects) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
SignatureFacetpreSign in interface SignatureFacetsigningCertificateChain - the optional signing certificate chainNoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionCopyright © 2008-2018 FedICT. All Rights Reserved.