Class XmlTimestamp

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

public class XmlTimestamp extends XmlAbstractToken implements Serializable

Java class for Timestamp complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Timestamp">
   <complexContent>
     <extension base="{http://dss.esig.europa.eu/validation/diagnostic}AbstractToken">
       <sequence>
         <element name="TimestampFilename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ArchiveTimestampType" type="{http://dss.esig.europa.eu/validation/diagnostic}ArchiveTimestampType" minOccurs="0"/>
         <element name="ProductionTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="DigestMatcher" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestMatcher" maxOccurs="unbounded"/>
         <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="SignerInformationStore" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerInformationStore" minOccurs="0"/>
         <element name="TSAGeneralName" type="{http://dss.esig.europa.eu/validation/diagnostic}TSAGeneralName" minOccurs="0"/>
         <element name="PDFRevision" type="{http://dss.esig.europa.eu/validation/diagnostic}PDFRevision" minOccurs="0"/>
         <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="TimestampedObjects" type="{http://dss.esig.europa.eu/validation/diagnostic}TimestampedObjects"/>
         <element name="TimestampScopes" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="TimestampScope" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureScope" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <choice>
           <element name="Base64Encoded" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
           <element name="DigestAlgoAndValue" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue"/>
         </choice>
       </sequence>
       <attribute name="Type" use="required" type="{http://dss.esig.europa.eu/validation/diagnostic}TimestampType" />
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • XmlTimestamp

      public XmlTimestamp()
  • Method Details

    • getTimestampFilename

      public String getTimestampFilename()
      Gets the value of the timestampFilename property.
      Returns:
      possible object is String
    • setTimestampFilename

      public void setTimestampFilename(String value)
      Sets the value of the timestampFilename property.
      Parameters:
      value - allowed object is String
    • getArchiveTimestampType

      public ArchiveTimestampType getArchiveTimestampType()
      Gets the value of the archiveTimestampType property.
      Returns:
      possible object is String
    • setArchiveTimestampType

      public void setArchiveTimestampType(ArchiveTimestampType value)
      Sets the value of the archiveTimestampType property.
      Parameters:
      value - allowed object is String
    • getProductionTime

      public Date getProductionTime()
      Gets the value of the productionTime property.
      Returns:
      possible object is String
    • setProductionTime

      public void setProductionTime(Date value)
      Sets the value of the productionTime property.
      Parameters:
      value - allowed object is String
    • getDigestMatchers

      public List<XmlDigestMatcher> getDigestMatchers()
      Gets the value of the digestMatchers 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 digestMatchers property.

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

          getDigestMatchers().add(newItem);
       

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

    • 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
    • getTSAGeneralName

      public XmlTSAGeneralName getTSAGeneralName()
      Gets the value of the tsaGeneralName property.
      Returns:
      possible object is XmlTSAGeneralName
    • setTSAGeneralName

      public void setTSAGeneralName(XmlTSAGeneralName value)
      Sets the value of the tsaGeneralName property.
      Parameters:
      value - allowed object is XmlTSAGeneralName
    • 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
    • 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
    • getBase64Encoded

      public byte[] getBase64Encoded()
      Gets the value of the base64Encoded property.
      Returns:
      possible object is byte[]
    • setBase64Encoded

      public void setBase64Encoded(byte[] value)
      Sets the value of the base64Encoded property.
      Parameters:
      value - allowed object is byte[]
    • getDigestAlgoAndValue

      public XmlDigestAlgoAndValue getDigestAlgoAndValue()
      Gets the value of the digestAlgoAndValue property.
      Returns:
      possible object is XmlDigestAlgoAndValue
    • setDigestAlgoAndValue

      public void setDigestAlgoAndValue(XmlDigestAlgoAndValue value)
      Sets the value of the digestAlgoAndValue property.
      Parameters:
      value - allowed object is XmlDigestAlgoAndValue
    • getType

      public TimestampType getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(TimestampType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getCertificateChain

      public List<XmlChainItem> getCertificateChain()
    • setCertificateChain

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

      public List<XmlSignerInfo> getSignerInformationStore()
    • setSignerInformationStore

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

      public List<XmlTimestampedObject> getTimestampedObjects()
    • setTimestampedObjects

      public void setTimestampedObjects(List<XmlTimestampedObject> timestampedObjects)
    • getTimestampScopes

      public List<XmlSignatureScope> getTimestampScopes()
    • setTimestampScopes

      public void setTimestampScopes(List<XmlSignatureScope> timestampScopes)