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="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
-
-
Field Summary
Fields Modifier and Type Field Description protected ArchiveTimestampTypearchiveTimestampTypeprotected byte[]base64Encodedprotected XmlBasicSignaturebasicSignatureprotected List<XmlChainItem>certificateChainprotected XmlDigestAlgoAndValuedigestAlgoAndValueprotected XmlDigestMatcherdigestMatcherprotected DateproductionTimeprotected XmlSigningCertificatesigningCertificateprotected List<XmlTimestampedObject>timestampedObjectsprotected TimestampTypetype-
Fields inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
id
-
-
Constructor Summary
Constructors Constructor Description XmlTimestamp()
-
Method Summary
Modifier and Type Method Description ArchiveTimestampTypegetArchiveTimestampType()Gets the value of the archiveTimestampType property.byte[]getBase64Encoded()Gets the value of the base64Encoded property.XmlBasicSignaturegetBasicSignature()Gets the value of the basicSignature property.List<XmlChainItem>getCertificateChain()XmlDigestAlgoAndValuegetDigestAlgoAndValue()Gets the value of the digestAlgoAndValue property.XmlDigestMatchergetDigestMatcher()Gets the value of the digestMatcher property.DategetProductionTime()Gets the value of the productionTime property.XmlSigningCertificategetSigningCertificate()Gets the value of the signingCertificate property.List<XmlTimestampedObject>getTimestampedObjects()TimestampTypegetType()Gets the value of the type property.voidsetArchiveTimestampType(ArchiveTimestampType value)Sets the value of the archiveTimestampType property.voidsetBase64Encoded(byte[] value)Sets the value of the base64Encoded property.voidsetBasicSignature(XmlBasicSignature value)Sets the value of the basicSignature property.voidsetCertificateChain(List<XmlChainItem> certificateChain)voidsetDigestAlgoAndValue(XmlDigestAlgoAndValue value)Sets the value of the digestAlgoAndValue property.voidsetDigestMatcher(XmlDigestMatcher value)Sets the value of the digestMatcher property.voidsetProductionTime(Date value)Sets the value of the productionTime property.voidsetSigningCertificate(XmlSigningCertificate value)Sets the value of the signingCertificate property.voidsetTimestampedObjects(List<XmlTimestampedObject> timestampedObjects)voidsetType(TimestampType value)Sets the value of the type property.-
Methods inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
getId, setId
-
-
-
-
Field Detail
-
archiveTimestampType
protected ArchiveTimestampType archiveTimestampType
-
productionTime
protected Date productionTime
-
digestMatcher
protected XmlDigestMatcher digestMatcher
-
basicSignature
protected XmlBasicSignature basicSignature
-
signingCertificate
protected XmlSigningCertificate signingCertificate
-
certificateChain
protected List<XmlChainItem> certificateChain
-
timestampedObjects
protected List<XmlTimestampedObject> timestampedObjects
-
base64Encoded
protected byte[] base64Encoded
-
digestAlgoAndValue
protected XmlDigestAlgoAndValue digestAlgoAndValue
-
type
protected TimestampType type
-
-
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 isString
-
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 isString
-
getDigestMatcher
public XmlDigestMatcher getDigestMatcher()
Gets the value of the digestMatcher property.- Returns:
- possible object is
XmlDigestMatcher
-
setDigestMatcher
public void setDigestMatcher(XmlDigestMatcher value)
Sets the value of the digestMatcher property.- Parameters:
value- allowed object isXmlDigestMatcher
-
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 isXmlBasicSignature
-
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 isXmlSigningCertificate
-
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 isXmlDigestAlgoAndValue
-
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 isString
-
getCertificateChain
public List<XmlChainItem> getCertificateChain()
-
setCertificateChain
public void setCertificateChain(List<XmlChainItem> certificateChain)
-
getTimestampedObjects
public List<XmlTimestampedObject> getTimestampedObjects()
-
setTimestampedObjects
public void setTimestampedObjects(List<XmlTimestampedObject> timestampedObjects)
-
-