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="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"/> <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 ArchiveTimestampType
archiveTimestampType
protected byte[]
base64Encoded
protected XmlBasicSignature
basicSignature
protected List<XmlChainItem>
certificateChain
protected XmlDigestAlgoAndValue
digestAlgoAndValue
protected List<XmlDigestMatcher>
digestMatchers
protected XmlFoundCertificates
foundCertificates
protected XmlFoundRevocations
foundRevocations
protected XmlPDFRevision
pdfRevision
protected Date
productionTime
protected List<XmlSignerInfo>
signerInformationStore
protected XmlSigningCertificate
signingCertificate
protected List<XmlTimestampedObject>
timestampedObjects
protected String
timestampFilename
protected TimestampType
type
-
Constructor Summary
Constructors Constructor Description XmlTimestamp()
-
Method Summary
Modifier and Type Method Description ArchiveTimestampType
getArchiveTimestampType()
Gets the value of the archiveTimestampType property.byte[]
getBase64Encoded()
Gets the value of the base64Encoded property.XmlBasicSignature
getBasicSignature()
Gets the value of the basicSignature property.List<XmlChainItem>
getCertificateChain()
XmlDigestAlgoAndValue
getDigestAlgoAndValue()
Gets the value of the digestAlgoAndValue property.List<XmlDigestMatcher>
getDigestMatchers()
Gets the value of the digestMatchers property.XmlFoundCertificates
getFoundCertificates()
Gets the value of the foundCertificates property.XmlFoundRevocations
getFoundRevocations()
Gets the value of the foundRevocations property.XmlPDFRevision
getPDFRevision()
Gets the value of the pdfRevision property.Date
getProductionTime()
Gets the value of the productionTime property.List<XmlSignerInfo>
getSignerInformationStore()
XmlSigningCertificate
getSigningCertificate()
Gets the value of the signingCertificate property.List<XmlTimestampedObject>
getTimestampedObjects()
String
getTimestampFilename()
Gets the value of the timestampFilename property.TimestampType
getType()
Gets the value of the type property.void
setArchiveTimestampType(ArchiveTimestampType value)
Sets the value of the archiveTimestampType property.void
setBase64Encoded(byte[] value)
Sets the value of the base64Encoded property.void
setBasicSignature(XmlBasicSignature value)
Sets the value of the basicSignature property.void
setCertificateChain(List<XmlChainItem> certificateChain)
void
setDigestAlgoAndValue(XmlDigestAlgoAndValue value)
Sets the value of the digestAlgoAndValue property.void
setFoundCertificates(XmlFoundCertificates value)
Sets the value of the foundCertificates property.void
setFoundRevocations(XmlFoundRevocations value)
Sets the value of the foundRevocations property.void
setPDFRevision(XmlPDFRevision value)
Sets the value of the pdfRevision property.void
setProductionTime(Date value)
Sets the value of the productionTime property.void
setSignerInformationStore(List<XmlSignerInfo> signerInformationStore)
void
setSigningCertificate(XmlSigningCertificate value)
Sets the value of the signingCertificate property.void
setTimestampedObjects(List<XmlTimestampedObject> timestampedObjects)
void
setTimestampFilename(String value)
Sets the value of the timestampFilename property.void
setType(TimestampType value)
Sets the value of the type property.
-
Field Details
-
Constructor Details
-
XmlTimestamp
public XmlTimestamp()
-
-
Method Details
-
getTimestampFilename
Gets the value of the timestampFilename property.- Returns:
- possible object is
String
-
setTimestampFilename
Sets the value of the timestampFilename property.- Parameters:
value
- allowed object isString
-
getArchiveTimestampType
Gets the value of the archiveTimestampType property.- Returns:
- possible object is
String
-
setArchiveTimestampType
Sets the value of the archiveTimestampType property.- Parameters:
value
- allowed object isString
-
getProductionTime
Gets the value of the productionTime property.- Returns:
- possible object is
String
-
setProductionTime
Sets the value of the productionTime property.- Parameters:
value
- allowed object isString
-
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
Gets the value of the basicSignature property.- Returns:
- possible object is
XmlBasicSignature
-
setBasicSignature
Sets the value of the basicSignature property.- Parameters:
value
- allowed object isXmlBasicSignature
-
getSigningCertificate
Gets the value of the signingCertificate property.- Returns:
- possible object is
XmlSigningCertificate
-
setSigningCertificate
Sets the value of the signingCertificate property.- Parameters:
value
- allowed object isXmlSigningCertificate
-
getPDFRevision
Gets the value of the pdfRevision property.- Returns:
- possible object is
XmlPDFRevision
-
setPDFRevision
Sets the value of the pdfRevision property.- Parameters:
value
- allowed object isXmlPDFRevision
-
getFoundCertificates
Gets the value of the foundCertificates property.- Returns:
- possible object is
XmlFoundCertificates
-
setFoundCertificates
Sets the value of the foundCertificates property.- Parameters:
value
- allowed object isXmlFoundCertificates
-
getFoundRevocations
Gets the value of the foundRevocations property.- Returns:
- possible object is
XmlFoundRevocations
-
setFoundRevocations
Sets the value of the foundRevocations property.- Parameters:
value
- allowed object isXmlFoundRevocations
-
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
Gets the value of the digestAlgoAndValue property.- Returns:
- possible object is
XmlDigestAlgoAndValue
-
setDigestAlgoAndValue
Sets the value of the digestAlgoAndValue property.- Parameters:
value
- allowed object isXmlDigestAlgoAndValue
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getCertificateChain
-
setCertificateChain
-
getSignerInformationStore
-
setSignerInformationStore
-
getTimestampedObjects
-
setTimestampedObjects
-