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
Modifier and TypeFieldDescriptionprotected XmlBasicSignature
protected List
<XmlChainItem> protected Date
protected List
<XmlCommitmentTypeIndication> protected String
protected String
protected String
protected Boolean
protected String
protected XmlDigestAlgoAndValue
protected List
<XmlDigestMatcher> protected String
protected XmlFoundCertificates
protected List
<XmlFoundEvidenceRecord> protected XmlFoundRevocations
protected List
<XmlFoundTimestamp> protected String
protected XmlSignature
protected XmlPDFRevision
protected XmlPolicy
protected XmlSignatureDigestReference
protected String
protected SignatureLevel
protected XmlSignaturePolicyStore
protected XmlSignatureProductionPlace
protected List
<XmlSignatureScope> protected String
protected byte[]
protected XmlSignerDocumentRepresentations
protected List
<XmlSignerInfo> protected List
<XmlSignerRole> protected XmlSigningCertificate
protected XmlStructuralValidation
protected Date
Fields inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
duplicated, id
-
Constructor Summary
-
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.void
Sets the value of the basicSignature property.void
setCertificateChain
(List<XmlChainItem> certificateChain) void
setClaimedSigningTime
(Date value) Sets the value of the claimedSigningTime property.void
setCommitmentTypeIndications
(List<XmlCommitmentTypeIndication> commitmentTypeIndications) void
setContentHints
(String value) Sets the value of the contentHints property.void
setContentIdentifier
(String value) Sets the value of the contentIdentifier property.void
setContentType
(String value) Sets the value of the contentType property.void
setCounterSignature
(Boolean value) Sets the value of the counterSignature property.void
setDAIdentifier
(String value) Sets the value of the daIdentifier property.void
Sets the value of the dataToBeSignedRepresentation property.void
setDigestMatchers
(List<XmlDigestMatcher> digestMatchers) void
setErrorMessage
(String value) Sets the value of the errorMessage property.void
Sets the value of the foundCertificates property.void
setFoundEvidenceRecords
(List<XmlFoundEvidenceRecord> foundEvidenceRecords) void
Sets the value of the foundRevocations property.void
setFoundTimestamps
(List<XmlFoundTimestamp> foundTimestamps) void
setMimeType
(String value) Sets the value of the mimeType property.void
setParent
(XmlSignature value) Sets the value of the parent property.void
setPDFRevision
(XmlPDFRevision value) Sets the value of the pdfRevision property.void
Sets the value of the policy property.void
Sets the value of the signatureDigestReference property.void
setSignatureFilename
(String value) Sets the value of the signatureFilename property.void
setSignatureFormat
(SignatureLevel value) Sets the value of the signatureFormat property.void
Sets the value of the signaturePolicyStore property.void
Sets the value of the signatureProductionPlace property.void
setSignatureScopes
(List<XmlSignatureScope> signatureScopes) void
setSignatureType
(String value) Sets the value of the signatureType property.void
setSignatureValue
(byte[] value) Sets the value of the signatureValue property.void
Sets the value of the signerDocumentRepresentations property.void
setSignerInformationStore
(List<XmlSignerInfo> signerInformationStore) void
Sets the value of the signingCertificate property.void
Sets the value of the structuralValidation property.void
setVRIDictionaryCreationTime
(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
set
method 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
-