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 ArchiveTimestampTypearchiveTimestampTypeprotected byte[]base64Encodedprotected XmlBasicSignaturebasicSignatureprotected List<XmlChainItem>certificateChainprotected XmlDigestAlgoAndValuedigestAlgoAndValueprotected List<XmlDigestMatcher>digestMatchersprotected XmlFoundCertificatesfoundCertificatesprotected XmlFoundRevocationsfoundRevocationsprotected XmlPDFRevisionpdfRevisionprotected DateproductionTimeprotected List<XmlSignerInfo>signerInformationStoreprotected XmlSigningCertificatesigningCertificateprotected List<XmlTimestampedObject>timestampedObjectsprotected StringtimestampFilenameprotected TimestampTypetype -
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.List<XmlDigestMatcher>getDigestMatchers()Gets the value of the digestMatchers property.XmlFoundCertificatesgetFoundCertificates()Gets the value of the foundCertificates property.XmlFoundRevocationsgetFoundRevocations()Gets the value of the foundRevocations property.XmlPDFRevisiongetPDFRevision()Gets the value of the pdfRevision property.DategetProductionTime()Gets the value of the productionTime property.List<XmlSignerInfo>getSignerInformationStore()XmlSigningCertificategetSigningCertificate()Gets the value of the signingCertificate property.List<XmlTimestampedObject>getTimestampedObjects()StringgetTimestampFilename()Gets the value of the timestampFilename property.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.voidsetFoundCertificates(XmlFoundCertificates value)Sets the value of the foundCertificates property.voidsetFoundRevocations(XmlFoundRevocations value)Sets the value of the foundRevocations property.voidsetPDFRevision(XmlPDFRevision value)Sets the value of the pdfRevision property.voidsetProductionTime(Date value)Sets the value of the productionTime property.voidsetSignerInformationStore(List<XmlSignerInfo> signerInformationStore)voidsetSigningCertificate(XmlSigningCertificate value)Sets the value of the signingCertificate property.voidsetTimestampedObjects(List<XmlTimestampedObject> timestampedObjects)voidsetTimestampFilename(String value)Sets the value of the timestampFilename property.voidsetType(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
setmethod 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
-