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_SUFFIX, keyInfoCanonicalizationMethod, keyInfoDom, qualifyingPropertiesDom, signatureDom, signatureValueDom, signedDataObjectPropertiesDom, signedInfoCanonicalizationMethod, signedInfoDom, signedPropertiesCanonicalizationMethod, signedPropertiesDom, signedSignaturePropertiesDom, TIMESTAMP_SUFFIX, unsignedSignaturePropertiesDom, VALUE_SUFFIX, XADES_SUFFIX
Fields inherited from class eu.europa.esig.dss.xades.signature.XAdESBuilder
certificateVerifier, documentDom, params, REFERENCED_DATA, TARGET, URI, xadesPaths
-
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
addTimestamp, alignNodes, build, buildRootDocumentDom, getNodeToCanonicalize, getSignatureBuilder, incorporateCustomObjects, incorporateFiles, incorporateKeyInfo, incorporateObject, incorporateObjects, incorporateQualifyingProperties, incorporateReferenceKeyInfo, incorporateReferenceSignedProperties, incorporateSignatureDom, incorporateSignatureValue, incorporateSignedInfo, incorporateSignedObjects, incorporateSignedProperties, incorporateSignedSignatureProperties, signDocument
Methods inherited from class eu.europa.esig.dss.xades.signature.XAdESBuilder
createXmlDocument, getCurrentXAdESElements, getCurrentXAdESPaths, getReferenceDigestAlgorithmOrDefault, getXades141Namespace, getXadesNamespace, getXmldsigNamespace, incorporateCert, incorporateCertDigest, incorporateDigestMethod, incorporateDigestValue, incorporateDigestValue, incorporateIssuerV1, incorporateIssuerV2, incorporateSPDocSpecification
-
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
-