SignatureConfig.SignatureConfigurablepublic class OOXMLSignatureFacet extends SignatureFacet
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String[] |
contentTypes |
|
static java.lang.String[] |
signed |
Office 2010 list of signed types (extensions).
|
MS_DIGSIG_NS, OO_DIGSIG_NS, signatureConfig, XADES_132_NS, XADES_141_NS, XML_DIGSIG_NS, XML_NS| Constructor | Description |
|---|---|
OOXMLSignatureFacet() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addManifestObject(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(java.util.List<javax.xml.crypto.dsig.Reference> manifestReferences) |
|
protected void |
addSignatureInfo(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(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(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, waitbrokenJvmWorkaround, getSignatureFactory, newReference, newReference, newTransform, newTransform, postSign, setSignatureConfigpublic static final java.lang.String[] contentTypes
public static final java.lang.String[] signed
public void preSign(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
SignatureFacetpreSign in class SignatureFacetdocument - the signature document to be used for importsreferences - list of reference definitionsobjects - objects to be signed/included in the signature documentjavax.xml.crypto.dsig.XMLSignatureExceptionprotected void addManifestObject(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.XMLSignatureExceptionprotected void addManifestReferences(java.util.List<javax.xml.crypto.dsig.Reference> manifestReferences)
throws javax.xml.crypto.dsig.XMLSignatureException
javax.xml.crypto.dsig.XMLSignatureExceptionprotected void addSignatureTime(org.w3c.dom.Document document,
java.util.List<javax.xml.crypto.XMLStructure> objectContent)
protected void addSignatureInfo(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.XMLSignatureExceptionprotected 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 2018 The Apache Software Foundation or its licensors, as applicable.