public class OOXMLSignatureFacet extends java.lang.Object implements SignatureFacet
MS_DIGSIG_NS, OO_DIGSIG_NS, XADES_132_NS, XADES_141_NS, XML_DIGSIG_NS, XML_NS
Constructor and Description |
---|
OOXMLSignatureFacet() |
Modifier and Type | Method and Description |
---|---|
protected void |
addManifestObject(SignatureInfo signatureInfo,
org.w3c.dom.Document document,
java.util.List<javax.xml.crypto.dsig.Reference> references,
java.util.List<javax.xml.crypto.dsig.XMLObject> objects) |
protected void |
addManifestReferences(SignatureInfo signatureInfo,
java.util.List<javax.xml.crypto.dsig.Reference> manifestReferences) |
protected void |
addSignatureInfo(SignatureInfo signatureInfo,
org.w3c.dom.Document document,
java.util.List<javax.xml.crypto.dsig.Reference> references,
java.util.List<javax.xml.crypto.dsig.XMLObject> objects) |
protected void |
addSignatureTime(SignatureInfo signatureInfo,
org.w3c.dom.Document document,
java.util.List<javax.xml.crypto.XMLStructure> objectContent) |
protected static java.lang.String |
getRelationshipReferenceURI(java.lang.String zipEntryName) |
protected static java.lang.String |
getResourceReferenceURI(java.lang.String resourceName,
java.lang.String contentType) |
protected static boolean |
isSignedRelationship(java.lang.String relationshipType) |
void |
preSign(SignatureInfo signatureInfo,
org.w3c.dom.Document document,
java.util.List<javax.xml.crypto.dsig.Reference> references,
java.util.List<javax.xml.crypto.dsig.XMLObject> objects)
This method is being invoked by the XML signature service engine during
pre-sign phase.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postSign
public void preSign(SignatureInfo signatureInfo, org.w3c.dom.Document document, java.util.List<javax.xml.crypto.dsig.Reference> references, java.util.List<javax.xml.crypto.dsig.XMLObject> objects) throws javax.xml.crypto.dsig.XMLSignatureException
SignatureFacet
preSign
in interface SignatureFacet
signatureInfo
- the signature info object holding the OPCPackage and other document related datadocument
- the signature document to be used for importsreferences
- list of reference definitionsobjects
- objects to be signed/included in the signature documentjavax.xml.crypto.dsig.XMLSignatureException
protected void addManifestObject(SignatureInfo signatureInfo, org.w3c.dom.Document document, java.util.List<javax.xml.crypto.dsig.Reference> references, java.util.List<javax.xml.crypto.dsig.XMLObject> objects) throws javax.xml.crypto.dsig.XMLSignatureException
javax.xml.crypto.dsig.XMLSignatureException
protected void addManifestReferences(SignatureInfo signatureInfo, java.util.List<javax.xml.crypto.dsig.Reference> manifestReferences) throws javax.xml.crypto.dsig.XMLSignatureException
javax.xml.crypto.dsig.XMLSignatureException
protected void addSignatureTime(SignatureInfo signatureInfo, org.w3c.dom.Document document, java.util.List<javax.xml.crypto.XMLStructure> objectContent)
protected void addSignatureInfo(SignatureInfo signatureInfo, org.w3c.dom.Document document, java.util.List<javax.xml.crypto.dsig.Reference> references, java.util.List<javax.xml.crypto.dsig.XMLObject> objects) throws javax.xml.crypto.dsig.XMLSignatureException
javax.xml.crypto.dsig.XMLSignatureException
protected static java.lang.String getRelationshipReferenceURI(java.lang.String zipEntryName)
protected static java.lang.String getResourceReferenceURI(java.lang.String resourceName, java.lang.String contentType)
protected static boolean isSignedRelationship(java.lang.String relationshipType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.