Class XmlSignature

java.lang.Object
eu.europa.esig.dss.simplereport.jaxb.XmlToken
eu.europa.esig.dss.simplereport.jaxb.XmlSignature
All Implemented Interfaces:
Serializable

public class XmlSignature extends XmlToken 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/simple-report}Token">
       <sequence>
         <element name="SigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="BestSignatureTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="SignedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="SignatureLevel" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureLevel" minOccurs="0"/>
         <element name="SignatureScope" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureScope" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Timestamps" type="{http://dss.esig.europa.eu/validation/simple-report}Timestamps" minOccurs="0"/>
       </sequence>
       <attribute name="CounterSignature" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="ParentId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="SignatureFormat" use="required" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureFormat" />
       <attribute name="ExtensionPeriodMin" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="ExtensionPeriodMax" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • signingTime

      protected Date signingTime
    • bestSignatureTime

      protected Date bestSignatureTime
    • signedBy

      protected String signedBy
    • signatureLevel

      protected XmlSignatureLevel signatureLevel
    • signatureScope

      protected List<XmlSignatureScope> signatureScope
    • timestamps

      protected XmlTimestamps timestamps
    • counterSignature

      protected Boolean counterSignature
    • parentId

      protected String parentId
    • signatureFormat

      protected SignatureLevel signatureFormat
    • extensionPeriodMin

      protected Date extensionPeriodMin
    • extensionPeriodMax

      protected Date extensionPeriodMax
  • Constructor Details

    • XmlSignature

      public XmlSignature()
  • Method Details

    • getSigningTime

      public Date getSigningTime()
      Gets the value of the signingTime property.
      Returns:
      possible object is String
    • setSigningTime

      public void setSigningTime(Date value)
      Sets the value of the signingTime property.
      Parameters:
      value - allowed object is String
    • getBestSignatureTime

      public Date getBestSignatureTime()
      Gets the value of the bestSignatureTime property.
      Returns:
      possible object is String
    • setBestSignatureTime

      public void setBestSignatureTime(Date value)
      Sets the value of the bestSignatureTime property.
      Parameters:
      value - allowed object is String
    • getSignedBy

      public String getSignedBy()
      Gets the value of the signedBy property.
      Returns:
      possible object is String
    • setSignedBy

      public void setSignedBy(String value)
      Sets the value of the signedBy property.
      Parameters:
      value - allowed object is String
    • getSignatureLevel

      public XmlSignatureLevel getSignatureLevel()
      Gets the value of the signatureLevel property.
      Returns:
      possible object is XmlSignatureLevel
    • setSignatureLevel

      public void setSignatureLevel(XmlSignatureLevel value)
      Sets the value of the signatureLevel property.
      Parameters:
      value - allowed object is XmlSignatureLevel
    • getSignatureScope

      public List<XmlSignatureScope> getSignatureScope()
      Gets the value of the signatureScope 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 signatureScope property.

      For example, to add a new item, do as follows:

          getSignatureScope().add(newItem);
       

      Objects of the following type(s) are allowed in the list XmlSignatureScope

    • getTimestamps

      public XmlTimestamps getTimestamps()
      Gets the value of the timestamps property.
      Returns:
      possible object is XmlTimestamps
    • setTimestamps

      public void setTimestamps(XmlTimestamps value)
      Sets the value of the timestamps property.
      Parameters:
      value - allowed object is XmlTimestamps
    • 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
    • getParentId

      public String getParentId()
      Gets the value of the parentId property.
      Returns:
      possible object is String
    • setParentId

      public void setParentId(String value)
      Sets the value of the parentId 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
    • getExtensionPeriodMin

      public Date getExtensionPeriodMin()
      Gets the value of the extensionPeriodMin property.
      Returns:
      possible object is String
    • setExtensionPeriodMin

      public void setExtensionPeriodMin(Date value)
      Sets the value of the extensionPeriodMin property.
      Parameters:
      value - allowed object is String
    • getExtensionPeriodMax

      public Date getExtensionPeriodMax()
      Gets the value of the extensionPeriodMax property.
      Returns:
      possible object is String
    • setExtensionPeriodMax

      public void setExtensionPeriodMax(Date value)
      Sets the value of the extensionPeriodMax property.
      Parameters:
      value - allowed object is String