Class XAdESLevelC
java.lang.Object
eu.europa.esig.dss.xades.signature.XAdESBuilder
eu.europa.esig.dss.xades.signature.ExtensionBuilder
eu.europa.esig.dss.xades.signature.XAdESLevelBaselineT
eu.europa.esig.dss.xades.signature.XAdESLevelC
- All Implemented Interfaces:
SignatureExtension<XAdESSignatureParameters>
- Direct Known Subclasses:
XAdESLevelX
Contains XAdES-C profile aspects
-
Field Summary
Fields inherited from class eu.europa.esig.dss.xades.signature.XAdESLevelBaselineT
tspSource
Fields inherited from class eu.europa.esig.dss.xades.signature.ExtensionBuilder
currentSignatureDom, documentValidator, qualifyingPropertiesDom, unsignedPropertiesDom, unsignedSignaturePropertiesDom, xadesSignature
Fields inherited from class eu.europa.esig.dss.xades.signature.XAdESBuilder
certificateVerifier, documentDom, params, REFERENCED_DATA, TARGET, URI, xadesPaths
-
Constructor Summary
ConstructorDescriptionXAdESLevelC
(CertificateVerifier certificateVerifier) The default constructor for XAdESLevelC. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
extendSignatures
(List<AdvancedSignature> signatures) This format builds up taking XAdES-T signature and incorporating additional data required for validation: The sequence of references to the full set of CA certificates that have been used to validate the electronic signature up to (but not including ) the signer's certificate.
A full set of references to the revocation data that have been used in the validation of the signer and CA certificates.
Adds<CompleteCertificateRefs>
and<CompleteRevocationRefs>
segments into<UnsignedSignatureProperties>
element.Methods inherited from class eu.europa.esig.dss.xades.signature.XAdESLevelBaselineT
assertDetachedDocumentsContainBinaries, createXAdESTimeStampType, extendSignatures, incorporateArchiveTimestamp, incorporateCertificateValues, incorporateCertificateValues, incorporateRevocationValues, incorporateRevocationValues, incorporateTimestampValidationData, removeLastTimestampValidationData, removeOldCertificateValues, removeOldRevocationValues, setTspSource
Methods inherited from class eu.europa.esig.dss.xades.signature.ExtensionBuilder
alignNodes, assertSignatureValid, ensureSignedDataObjectProperties, ensureUnsignedProperties, ensureUnsignedSignatureProperties, getXadesNamespace, getXmldsigNamespace, indentIfPrettyPrint, initializeSignatureBuilder, removeNode, removeNodes
Methods inherited from class eu.europa.esig.dss.xades.signature.XAdESBuilder
createXmlDocument, getCurrentXAdESElements, getCurrentXAdESPaths, getReferenceDigestAlgorithmOrDefault, getXades141Namespace, incorporateCert, incorporateCertDigest, incorporateDigestMethod, incorporateDigestValue, incorporateDigestValue, incorporateIssuerV1, incorporateIssuerV2, incorporateSPDocSpecification
-
Constructor Details
-
XAdESLevelC
The default constructor for XAdESLevelC.- Parameters:
certificateVerifier
-CertificateVerifier
-
-
Method Details
-
extendSignatures
This format builds up taking XAdES-T signature and incorporating additional data required for validation: The sequence of references to the full set of CA certificates that have been used to validate the electronic signature up to (but not including ) the signer's certificate.
A full set of references to the revocation data that have been used in the validation of the signer and CA certificates.
Adds<CompleteCertificateRefs>
and<CompleteRevocationRefs>
segments into<UnsignedSignatureProperties>
element. There SHALL be at most one occurrence of CompleteRevocationRefs and CompleteCertificateRefs properties in the signature. Old references must be removed.- Overrides:
extendSignatures
in classXAdESLevelBaselineT
- Parameters:
signatures
- a list ofAdvancedSignature
s to extend- See Also:
-