Class XmlSignature

java.lang.Object
eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
eu.europa.esig.dss.diagnostic.jaxb.XmlSignature
All Implemented Interfaces:
Serializable

public class XmlSignature extends XmlAbstractToken implements 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="StructuralValidation" type="{http://dss.esig.europa.eu/validation/diagnostic}StructuralValidation" minOccurs="0"/>
         <element name="DigestMatchers" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="DigestMatcher" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestMatcher" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <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">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="FoundTimestamp" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundTimestamp" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <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" />
       <attribute name="Duplicated" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • XmlSignature

      public XmlSignature()
  • Method Details

    • getDAIdentifier

      public String getDAIdentifier()
      Gets the value of the daIdentifier property.
      Returns:
      possible object is String
    • setDAIdentifier

      public void setDAIdentifier(String value)
      Sets the value of the daIdentifier property.
      Parameters:
      value - allowed object is String
    • getSignatureFilename

      public String getSignatureFilename()
      Gets the value of the signatureFilename property.
      Returns:
      possible object is String
    • setSignatureFilename

      public void setSignatureFilename(String value)
      Sets the value of the signatureFilename property.
      Parameters:
      value - allowed object is String
    • getErrorMessage

      public String getErrorMessage()
      Gets the value of the errorMessage property.
      Returns:
      possible object is String
    • setErrorMessage

      public void setErrorMessage(String value)
      Sets the value of the errorMessage property.
      Parameters:
      value - allowed object is String
    • getClaimedSigningTime

      public Date getClaimedSigningTime()
      Gets the value of the claimedSigningTime property.
      Returns:
      possible object is String
    • setClaimedSigningTime

      public void setClaimedSigningTime(Date value)
      Sets the value of the claimedSigningTime property.
      Parameters:
      value - allowed object is String
    • getSignatureFormat

      public SignatureLevel getSignatureFormat()
      Gets the value of the signatureFormat property.
      Returns:
      possible object is String
    • setSignatureFormat

      public void setSignatureFormat(SignatureLevel value)
      Sets the value of the signatureFormat property.
      Parameters:
      value - allowed object is String
    • getStructuralValidation

      public XmlStructuralValidation getStructuralValidation()
      Gets the value of the structuralValidation property.
      Returns:
      possible object is XmlStructuralValidation
    • setStructuralValidation

      public void setStructuralValidation(XmlStructuralValidation value)
      Sets the value of the structuralValidation property.
      Parameters:
      value - allowed object is XmlStructuralValidation
    • getBasicSignature

      public XmlBasicSignature getBasicSignature()
      Gets the value of the basicSignature property.
      Returns:
      possible object is XmlBasicSignature
    • setBasicSignature

      public void setBasicSignature(XmlBasicSignature value)
      Sets the value of the basicSignature property.
      Parameters:
      value - allowed object is XmlBasicSignature
    • getSigningCertificate

      public XmlSigningCertificate getSigningCertificate()
      Gets the value of the signingCertificate property.
      Returns:
      possible object is XmlSigningCertificate
    • setSigningCertificate

      public void setSigningCertificate(XmlSigningCertificate value)
      Sets the value of the signingCertificate property.
      Parameters:
      value - allowed object is XmlSigningCertificate
    • getContentType

      public String getContentType()
      Gets the value of the contentType property.
      Returns:
      possible object is String
    • setContentType

      public void setContentType(String value)
      Sets the value of the contentType property.
      Parameters:
      value - allowed object is String
    • getMimeType

      public String getMimeType()
      Gets the value of the mimeType property.
      Returns:
      possible object is String
    • setMimeType

      public void setMimeType(String value)
      Sets the value of the mimeType property.
      Parameters:
      value - allowed object is String
    • getContentIdentifier

      public String getContentIdentifier()
      Gets the value of the contentIdentifier property.
      Returns:
      possible object is String
    • setContentIdentifier

      public void setContentIdentifier(String value)
      Sets the value of the contentIdentifier property.
      Parameters:
      value - allowed object is String
    • getContentHints

      public String getContentHints()
      Gets the value of the contentHints property.
      Returns:
      possible object is String
    • setContentHints

      public void setContentHints(String value)
      Sets the value of the contentHints property.
      Parameters:
      value - allowed object is String
    • getSignatureProductionPlace

      public XmlSignatureProductionPlace getSignatureProductionPlace()
      Gets the value of the signatureProductionPlace property.
      Returns:
      possible object is XmlSignatureProductionPlace
    • setSignatureProductionPlace

      public void setSignatureProductionPlace(XmlSignatureProductionPlace value)
      Sets the value of the signatureProductionPlace property.
      Parameters:
      value - allowed object is XmlSignatureProductionPlace
    • getSignerRole

      public List<XmlSignerRole> 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 JAXB 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

      public XmlPolicy getPolicy()
      Gets the value of the policy property.
      Returns:
      possible object is XmlPolicy
    • setPolicy

      public void setPolicy(XmlPolicy value)
      Sets the value of the policy property.
      Parameters:
      value - allowed object is XmlPolicy
    • getSignaturePolicyStore

      public XmlSignaturePolicyStore getSignaturePolicyStore()
      Gets the value of the signaturePolicyStore property.
      Returns:
      possible object is XmlSignaturePolicyStore
    • setSignaturePolicyStore

      public void setSignaturePolicyStore(XmlSignaturePolicyStore value)
      Sets the value of the signaturePolicyStore property.
      Parameters:
      value - allowed object is XmlSignaturePolicyStore
    • getPDFRevision

      public XmlPDFRevision getPDFRevision()
      Gets the value of the pdfRevision property.
      Returns:
      possible object is XmlPDFRevision
    • setPDFRevision

      public void setPDFRevision(XmlPDFRevision value)
      Sets the value of the pdfRevision property.
      Parameters:
      value - allowed object is XmlPDFRevision
    • getVRIDictionaryCreationTime

      public Date getVRIDictionaryCreationTime()
      Gets the value of the vriDictionaryCreationTime property.
      Returns:
      possible object is String
    • setVRIDictionaryCreationTime

      public void setVRIDictionaryCreationTime(Date value)
      Sets the value of the vriDictionaryCreationTime property.
      Parameters:
      value - allowed object is String
    • getSignerDocumentRepresentations

      public XmlSignerDocumentRepresentations getSignerDocumentRepresentations()
      Gets the value of the signerDocumentRepresentations property.
      Returns:
      possible object is XmlSignerDocumentRepresentations
    • setSignerDocumentRepresentations

      public void setSignerDocumentRepresentations(XmlSignerDocumentRepresentations value)
      Sets the value of the signerDocumentRepresentations property.
      Parameters:
      value - allowed object is XmlSignerDocumentRepresentations
    • getFoundCertificates

      public XmlFoundCertificates getFoundCertificates()
      Gets the value of the foundCertificates property.
      Returns:
      possible object is XmlFoundCertificates
    • setFoundCertificates

      public void setFoundCertificates(XmlFoundCertificates value)
      Sets the value of the foundCertificates property.
      Parameters:
      value - allowed object is XmlFoundCertificates
    • getFoundRevocations

      public XmlFoundRevocations getFoundRevocations()
      Gets the value of the foundRevocations property.
      Returns:
      possible object is XmlFoundRevocations
    • setFoundRevocations

      public void setFoundRevocations(XmlFoundRevocations value)
      Sets the value of the foundRevocations property.
      Parameters:
      value - allowed object is XmlFoundRevocations
    • getSignatureDigestReference

      public XmlSignatureDigestReference getSignatureDigestReference()
      Gets the value of the signatureDigestReference property.
      Returns:
      possible object is XmlSignatureDigestReference
    • setSignatureDigestReference

      public void setSignatureDigestReference(XmlSignatureDigestReference value)
      Sets the value of the signatureDigestReference property.
      Parameters:
      value - allowed object is XmlSignatureDigestReference
    • getDataToBeSignedRepresentation

      public XmlDigestAlgoAndValue getDataToBeSignedRepresentation()
      Gets the value of the dataToBeSignedRepresentation property.
      Returns:
      possible object is XmlDigestAlgoAndValue
    • setDataToBeSignedRepresentation

      public void setDataToBeSignedRepresentation(XmlDigestAlgoAndValue value)
      Sets the value of the dataToBeSignedRepresentation property.
      Parameters:
      value - allowed object is XmlDigestAlgoAndValue
    • 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

      public Boolean isCounterSignature()
      Gets the value of the counterSignature property.
      Returns:
      possible object is Boolean
    • setCounterSignature

      public void setCounterSignature(Boolean value)
      Sets the value of the counterSignature property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public XmlSignature getParent()
      Gets the value of the parent property.
      Returns:
      possible object is Object
    • setParent

      public void setParent(XmlSignature value)
      Sets the value of the parent property.
      Parameters:
      value - allowed object is Object
    • isDuplicated

      public Boolean isDuplicated()
      Gets the value of the duplicated property.
      Returns:
      possible object is Boolean
    • setDuplicated

      public void setDuplicated(Boolean value)
      Sets the value of the duplicated property.
      Parameters:
      value - allowed object is Boolean
    • getDigestMatchers

      public List<XmlDigestMatcher> getDigestMatchers()
    • setDigestMatchers

      public void setDigestMatchers(List<XmlDigestMatcher> digestMatchers)
    • getCertificateChain

      public List<XmlChainItem> getCertificateChain()
    • setCertificateChain

      public void setCertificateChain(List<XmlChainItem> certificateChain)
    • getCommitmentTypeIndications

      public List<XmlCommitmentTypeIndication> getCommitmentTypeIndications()
    • setCommitmentTypeIndications

      public void setCommitmentTypeIndications(List<XmlCommitmentTypeIndication> commitmentTypeIndications)
    • getSignerInformationStore

      public List<XmlSignerInfo> getSignerInformationStore()
    • setSignerInformationStore

      public void setSignerInformationStore(List<XmlSignerInfo> signerInformationStore)
    • getFoundTimestamps

      public List<XmlFoundTimestamp> getFoundTimestamps()
    • setFoundTimestamps

      public void setFoundTimestamps(List<XmlFoundTimestamp> foundTimestamps)
    • getSignatureScopes

      public List<XmlSignatureScope> getSignatureScopes()
    • setSignatureScopes

      public void setSignatureScopes(List<XmlSignatureScope> signatureScopes)