Class XPathPlacementSignatureBuilder
java.lang.Object
eu.europa.esig.dss.xades.signature.XAdESBuilder
eu.europa.esig.dss.xades.signature.XAdESSignatureBuilder
eu.europa.esig.dss.xades.signature.XPathPlacementSignatureBuilder
- All Implemented Interfaces:
SignatureBuilder
This class creates signatures that are being enveloped into the parent document
based on the defined (if any) XPath location.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.xades.signature.XAdESSignatureBuilder
built, deterministicId, document, KEYINFO_PREFIX, keyInfoCanonicalizationMethod, keyInfoDom, qualifyingPropertiesDom, signatureDom, signatureValueDom, signedDataObjectPropertiesDom, signedInfoCanonicalizationMethod, signedInfoDom, signedPropertiesCanonicalizationMethod, signedPropertiesDom, signedSignaturePropertiesDom, unsignedSignaturePropertiesDom, VALUE_PREFIX, XADES_PREFIX
Fields inherited from class eu.europa.esig.dss.xades.signature.XAdESBuilder
certificateVerifier, documentDom, ENCAPSULATED_TIMESTAMP_PREFIX, ID_PREFIX, params, REFERENCED_DATA, TARGET, TIMESTAMP_PREFIX, URI, xadesPath
-
Constructor Summary
ModifierConstructorDescriptionprotected
XPathPlacementSignatureBuilder
(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) The default constructor for SignatureBuilder. -
Method Summary
Modifier and TypeMethodDescriptionprotected Node
Returns a parent node of the signatureprotected void
incorporateSignatureDom
(Node parentNodeOfSignature) Incorporates the signature element to the parent nodeMethods inherited from class eu.europa.esig.dss.xades.signature.XAdESSignatureBuilder
addContentTimestamp, alignNodes, build, buildRootDocumentDom, getNodeToCanonicalize, getSignatureBuilder, incorporateCustomObjects, incorporateFiles, incorporateKeyInfo, incorporateObject, incorporateObjects, incorporateQualifyingProperties, incorporateReferenceKeyInfo, incorporateReferenceSignedProperties, incorporateSignatureDom, incorporateSignatureValue, incorporateSignedInfo, incorporateSignedObjects, incorporateSignedProperties, incorporateSignedSignatureProperties, initRootDocumentDom, signDocument
Methods inherited from class eu.europa.esig.dss.xades.signature.XAdESBuilder
createXmlDocument, getCurrentXAdESElements, getCurrentXAdESPath, getXades141Namespace, getXadesNamespace, getXmldsigNamespace, incorporateCert, incorporateCertDigest, incorporateDigestMethod, incorporateDigestValue, incorporateDigestValue, incorporateIssuerV1, incorporateIssuerV2, incorporateSPDocSpecification, toXmlIdentifier
-
Constructor Details
-
XPathPlacementSignatureBuilder
protected XPathPlacementSignatureBuilder(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) The default constructor for SignatureBuilder.- Parameters:
params
- The set of parameters relating to the structure and process of the creation or extension of the electronic signature.document
- The original document to sign.certificateVerifier
-CertificateVerifier
-
-
Method Details
-
getParentNodeOfSignature
Description copied from class:XAdESSignatureBuilder
Returns a parent node of the signature- Overrides:
getParentNodeOfSignature
in classXAdESSignatureBuilder
- Returns:
Node
-
incorporateSignatureDom
Description copied from class:XAdESSignatureBuilder
Incorporates the signature element to the parent node- Overrides:
incorporateSignatureDom
in classXAdESSignatureBuilder
- Parameters:
parentNodeOfSignature
-Node
the parent node
-