Class 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="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"/>
             <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="TimestampedObjects" type="{http://dss.esig.europa.eu/validation/diagnostic}TimestampedObjects" minOccurs="0"/>
             <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:
    Serialized Form
    • Constructor Detail

      • XmlTimestamp

        public XmlTimestamp()
    • Method Detail

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

        public void setDigestMatcher​(XmlDigestMatcher value)
        Sets the value of the digestMatcher property.
        Parameters:
        value - allowed object is XmlDigestMatcher
      • setBasicSignature

        public void setBasicSignature​(XmlBasicSignature value)
        Sets the value of the basicSignature property.
        Parameters:
        value - allowed object is XmlBasicSignature
      • 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[]
      • 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
      • setCertificateChain

        public void setCertificateChain​(List<XmlChainItem> certificateChain)