Class XmlSignature
java.lang.Object
eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
eu.europa.esig.dss.diagnostic.jaxb.XmlSignature
- All Implemented Interfaces:
Serializable
Java class for Signature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Signature">
<complexContent>
<extension base="{http://dss.esig.europa.eu/validation/diagnostic}AbstractToken">
<sequence>
<element name="DAIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SignatureFilename" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ClaimedSigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="SignatureFormat" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureFormat"/>
<element name="SignatureType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="StructuralValidation" type="{http://dss.esig.europa.eu/validation/diagnostic}StructuralValidation" minOccurs="0"/>
<element name="DigestMatchers" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestMatchers" minOccurs="0"/>
<element name="BasicSignature" type="{http://dss.esig.europa.eu/validation/diagnostic}BasicSignature"/>
<element name="SigningCertificate" type="{http://dss.esig.europa.eu/validation/diagnostic}SigningCertificate" minOccurs="0"/>
<element name="CertificateChain" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateChain" minOccurs="0"/>
<element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ContentIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ContentHints" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SignatureProductionPlace" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureProductionPlace" minOccurs="0"/>
<element name="CommitmentTypeIndications" type="{http://dss.esig.europa.eu/validation/diagnostic}CommitmentTypeIndications" minOccurs="0"/>
<element name="SignerRole" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerRole" maxOccurs="unbounded" minOccurs="0"/>
<element name="Policy" type="{http://dss.esig.europa.eu/validation/diagnostic}Policy" minOccurs="0"/>
<element name="SignaturePolicyStore" type="{http://dss.esig.europa.eu/validation/diagnostic}SignaturePolicyStore" minOccurs="0"/>
<element name="SignerInformationStore" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerInformationStore" minOccurs="0"/>
<element name="PDFRevision" type="{http://dss.esig.europa.eu/validation/diagnostic}PDFRevision" minOccurs="0"/>
<element name="VRIDictionaryCreationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="SignerDocumentRepresentations" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="HashOnly" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="DocHashOnly" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="FoundCertificates" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundCertificates"/>
<element name="FoundRevocations" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundRevocations"/>
<element name="FoundTimestamps" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundTimestamps"/>
<element name="FoundEvidenceRecords" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundEvidenceRecords" minOccurs="0"/>
<element name="SignatureScopes">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SignatureScope" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureScope" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="SignatureDigestReference" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureDigestReference"/>
<element name="DataToBeSignedRepresentation" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue" minOccurs="0"/>
<element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
</sequence>
<attribute name="CounterSignature" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="Parent" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected XmlBasicSignatureprotected List<XmlChainItem> protected Dateprotected List<XmlCommitmentTypeIndication> protected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected XmlDigestAlgoAndValueprotected List<XmlDigestMatcher> protected Stringprotected XmlFoundCertificatesprotected List<XmlFoundEvidenceRecord> protected XmlFoundRevocationsprotected List<XmlFoundTimestamp> protected Stringprotected XmlSignatureprotected XmlPDFRevisionprotected XmlPolicyprotected XmlSignatureDigestReferenceprotected Stringprotected SignatureLevelprotected XmlSignaturePolicyStoreprotected XmlSignatureProductionPlaceprotected List<XmlSignatureScope> protected Stringprotected byte[]protected XmlSignerDocumentRepresentationsprotected List<XmlSignerInfo> protected List<XmlSignerRole> protected XmlSigningCertificateprotected XmlStructuralValidationprotected DateFields inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
duplicated, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the basicSignature property.Gets the value of the claimedSigningTime property.Gets the value of the contentHints property.Gets the value of the contentIdentifier property.Gets the value of the contentType property.Gets the value of the daIdentifier property.Gets the value of the dataToBeSignedRepresentation property.Gets the value of the errorMessage property.Gets the value of the foundCertificates property.Gets the value of the foundRevocations property.Gets the value of the mimeType property.Gets the value of the parent property.Gets the value of the pdfRevision property.Gets the value of the policy property.Gets the value of the signatureDigestReference property.Gets the value of the signatureFilename property.Gets the value of the signatureFormat property.Gets the value of the signaturePolicyStore property.Gets the value of the signatureProductionPlace property.Gets the value of the signatureType property.byte[]Gets the value of the signatureValue property.Gets the value of the signerDocumentRepresentations property.Gets the value of the signerRole property.Gets the value of the signingCertificate property.Gets the value of the structuralValidation property.Gets the value of the vriDictionaryCreationTime property.Gets the value of the counterSignature property.voidSets the value of the basicSignature property.voidsetCertificateChain(List<XmlChainItem> certificateChain) voidsetClaimedSigningTime(Date value) Sets the value of the claimedSigningTime property.voidsetCommitmentTypeIndications(List<XmlCommitmentTypeIndication> commitmentTypeIndications) voidsetContentHints(String value) Sets the value of the contentHints property.voidsetContentIdentifier(String value) Sets the value of the contentIdentifier property.voidsetContentType(String value) Sets the value of the contentType property.voidsetCounterSignature(Boolean value) Sets the value of the counterSignature property.voidsetDAIdentifier(String value) Sets the value of the daIdentifier property.voidSets the value of the dataToBeSignedRepresentation property.voidsetDigestMatchers(List<XmlDigestMatcher> digestMatchers) voidsetErrorMessage(String value) Sets the value of the errorMessage property.voidSets the value of the foundCertificates property.voidsetFoundEvidenceRecords(List<XmlFoundEvidenceRecord> foundEvidenceRecords) voidSets the value of the foundRevocations property.voidsetFoundTimestamps(List<XmlFoundTimestamp> foundTimestamps) voidsetMimeType(String value) Sets the value of the mimeType property.voidsetParent(XmlSignature value) Sets the value of the parent property.voidsetPDFRevision(XmlPDFRevision value) Sets the value of the pdfRevision property.voidSets the value of the policy property.voidSets the value of the signatureDigestReference property.voidsetSignatureFilename(String value) Sets the value of the signatureFilename property.voidsetSignatureFormat(SignatureLevel value) Sets the value of the signatureFormat property.voidSets the value of the signaturePolicyStore property.voidSets the value of the signatureProductionPlace property.voidsetSignatureScopes(List<XmlSignatureScope> signatureScopes) voidsetSignatureType(String value) Sets the value of the signatureType property.voidsetSignatureValue(byte[] value) Sets the value of the signatureValue property.voidSets the value of the signerDocumentRepresentations property.voidsetSignerInformationStore(List<XmlSignerInfo> signerInformationStore) voidSets the value of the signingCertificate property.voidSets the value of the structuralValidation property.voidsetVRIDictionaryCreationTime(Date value) Sets the value of the vriDictionaryCreationTime property.Methods inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
getId, isDuplicated, setDuplicated, setId
-
Field Details
-
daIdentifier
-
signatureFilename
-
errorMessage
-
claimedSigningTime
-
signatureFormat
-
signatureType
-
structuralValidation
-
digestMatchers
-
basicSignature
-
signingCertificate
-
certificateChain
-
contentType
-
mimeType
-
contentIdentifier
-
contentHints
-
signatureProductionPlace
-
commitmentTypeIndications
-
signerRole
-
policy
-
signaturePolicyStore
-
signerInformationStore
-
pdfRevision
-
vriDictionaryCreationTime
-
signerDocumentRepresentations
-
foundCertificates
-
foundRevocations
-
foundTimestamps
-
foundEvidenceRecords
-
signatureScopes
-
signatureDigestReference
-
dataToBeSignedRepresentation
-
signatureValue
protected byte[] signatureValue -
counterSignature
-
parent
-
-
Constructor Details
-
XmlSignature
public XmlSignature()
-
-
Method Details
-
getDAIdentifier
-
setDAIdentifier
-
getSignatureFilename
-
setSignatureFilename
-
getErrorMessage
-
setErrorMessage
-
getClaimedSigningTime
-
setClaimedSigningTime
-
getSignatureFormat
Gets the value of the signatureFormat property.- Returns:
- possible object is
String
-
setSignatureFormat
Sets the value of the signatureFormat property.- Parameters:
value- allowed object isString
-
getSignatureType
-
setSignatureType
-
getStructuralValidation
Gets the value of the structuralValidation property.- Returns:
- possible object is
XmlStructuralValidation
-
setStructuralValidation
Sets the value of the structuralValidation property.- Parameters:
value- allowed object isXmlStructuralValidation
-
getBasicSignature
Gets the value of the basicSignature property.- Returns:
- possible object is
XmlBasicSignature
-
setBasicSignature
Sets the value of the basicSignature property.- Parameters:
value- allowed object isXmlBasicSignature
-
getSigningCertificate
Gets the value of the signingCertificate property.- Returns:
- possible object is
XmlSigningCertificate
-
setSigningCertificate
Sets the value of the signingCertificate property.- Parameters:
value- allowed object isXmlSigningCertificate
-
getContentType
-
setContentType
-
getMimeType
-
setMimeType
-
getContentIdentifier
-
setContentIdentifier
-
getContentHints
-
setContentHints
-
getSignatureProductionPlace
Gets the value of the signatureProductionPlace property.- Returns:
- possible object is
XmlSignatureProductionPlace
-
setSignatureProductionPlace
Sets the value of the signatureProductionPlace property.- Parameters:
value- allowed object isXmlSignatureProductionPlace
-
getSignerRole
Gets the value of the signerRole property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the signerRole property.For example, to add a new item, do as follows:
getSignerRole().add(newItem);Objects of the following type(s) are allowed in the list
XmlSignerRole -
getPolicy
-
setPolicy
-
getSignaturePolicyStore
Gets the value of the signaturePolicyStore property.- Returns:
- possible object is
XmlSignaturePolicyStore
-
setSignaturePolicyStore
Sets the value of the signaturePolicyStore property.- Parameters:
value- allowed object isXmlSignaturePolicyStore
-
getPDFRevision
Gets the value of the pdfRevision property.- Returns:
- possible object is
XmlPDFRevision
-
setPDFRevision
Sets the value of the pdfRevision property.- Parameters:
value- allowed object isXmlPDFRevision
-
getVRIDictionaryCreationTime
-
setVRIDictionaryCreationTime
-
getSignerDocumentRepresentations
Gets the value of the signerDocumentRepresentations property.- Returns:
- possible object is
XmlSignerDocumentRepresentations
-
setSignerDocumentRepresentations
Sets the value of the signerDocumentRepresentations property.- Parameters:
value- allowed object isXmlSignerDocumentRepresentations
-
getFoundCertificates
Gets the value of the foundCertificates property.- Returns:
- possible object is
XmlFoundCertificates
-
setFoundCertificates
Sets the value of the foundCertificates property.- Parameters:
value- allowed object isXmlFoundCertificates
-
getFoundRevocations
Gets the value of the foundRevocations property.- Returns:
- possible object is
XmlFoundRevocations
-
setFoundRevocations
Sets the value of the foundRevocations property.- Parameters:
value- allowed object isXmlFoundRevocations
-
getSignatureDigestReference
Gets the value of the signatureDigestReference property.- Returns:
- possible object is
XmlSignatureDigestReference
-
setSignatureDigestReference
Sets the value of the signatureDigestReference property.- Parameters:
value- allowed object isXmlSignatureDigestReference
-
getDataToBeSignedRepresentation
Gets the value of the dataToBeSignedRepresentation property.- Returns:
- possible object is
XmlDigestAlgoAndValue
-
setDataToBeSignedRepresentation
Sets the value of the dataToBeSignedRepresentation property.- Parameters:
value- allowed object isXmlDigestAlgoAndValue
-
getSignatureValue
public byte[] getSignatureValue()Gets the value of the signatureValue property.- Returns:
- possible object is byte[]
-
setSignatureValue
public void setSignatureValue(byte[] value) Sets the value of the signatureValue property.- Parameters:
value- allowed object is byte[]
-
isCounterSignature
-
setCounterSignature
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
Object
-
setParent
Sets the value of the parent property.- Parameters:
value- allowed object isObject
-
getDigestMatchers
-
setDigestMatchers
-
getCertificateChain
-
setCertificateChain
-
getCommitmentTypeIndications
-
setCommitmentTypeIndications
public void setCommitmentTypeIndications(List<XmlCommitmentTypeIndication> commitmentTypeIndications) -
getSignerInformationStore
-
setSignerInformationStore
-
getFoundTimestamps
-
setFoundTimestamps
-
getFoundEvidenceRecords
-
setFoundEvidenceRecords
-
getSignatureScopes
-
setSignatureScopes
-