Class XmlTimestamp
java.lang.Object
eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
eu.europa.esig.dss.diagnostic.jaxb.XmlTimestamp
- All Implemented Interfaces:
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="EvidenceRecordTimestampType" type="{http://dss.esig.europa.eu/validation/diagnostic}EvidenceRecordTimestampType" 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="FoundEvidenceRecords" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundEvidenceRecords" minOccurs="0"/> <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 Summary
Modifier and TypeFieldDescriptionprotected ArchiveTimestampType
protected byte[]
protected XmlBasicSignature
protected List
<XmlChainItem> protected XmlDigestAlgoAndValue
protected List
<XmlDigestMatcher> protected EvidenceRecordTimestampType
protected XmlFoundCertificates
protected List
<XmlFoundEvidenceRecord> protected XmlFoundRevocations
protected XmlPDFRevision
protected Date
protected List
<XmlSignerInfo> protected XmlSigningCertificate
protected List
<XmlTimestampedObject> protected String
protected List
<XmlSignatureScope> protected XmlTSAGeneralName
protected TimestampType
Fields inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
duplicated, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the archiveTimestampType property.byte[]
Gets the value of the base64Encoded property.Gets the value of the basicSignature property.Gets the value of the digestAlgoAndValue property.Gets the value of the digestMatchers property.Gets the value of the evidenceRecordTimestampType property.Gets the value of the foundCertificates property.Gets the value of the foundRevocations property.Gets the value of the pdfRevision property.Gets the value of the productionTime property.Gets the value of the signingCertificate property.Gets the value of the timestampFilename property.Gets the value of the tsaGeneralName property.getType()
Gets the value of the type property.void
Sets the value of the archiveTimestampType property.void
setBase64Encoded
(byte[] value) Sets the value of the base64Encoded property.void
Sets the value of the basicSignature property.void
setCertificateChain
(List<XmlChainItem> certificateChain) void
Sets the value of the digestAlgoAndValue property.void
Sets the value of the evidenceRecordTimestampType property.void
Sets the value of the foundCertificates property.void
setFoundEvidenceRecords
(List<XmlFoundEvidenceRecord> foundEvidenceRecords) void
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
Sets the value of the signingCertificate property.void
setTimestampedObjects
(List<XmlTimestampedObject> timestampedObjects) void
setTimestampFilename
(String value) Sets the value of the timestampFilename property.void
setTimestampScopes
(List<XmlSignatureScope> timestampScopes) void
Sets the value of the tsaGeneralName property.void
setType
(TimestampType value) Sets the value of the type property.Methods inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
getId, isDuplicated, setDuplicated, setId
-
Field Details
-
timestampFilename
-
archiveTimestampType
-
evidenceRecordTimestampType
-
productionTime
-
digestMatchers
-
basicSignature
-
signingCertificate
-
certificateChain
-
signerInformationStore
-
tsaGeneralName
-
pdfRevision
-
foundCertificates
-
foundRevocations
-
foundEvidenceRecords
-
timestampedObjects
-
timestampScopes
-
base64Encoded
protected byte[] base64Encoded -
digestAlgoAndValue
-
type
-
-
Constructor Details
-
XmlTimestamp
public XmlTimestamp()
-
-
Method Details
-
getTimestampFilename
-
setTimestampFilename
-
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
-
getEvidenceRecordTimestampType
Gets the value of the evidenceRecordTimestampType property.- Returns:
- possible object is
String
-
setEvidenceRecordTimestampType
Sets the value of the evidenceRecordTimestampType property.- Parameters:
value
- allowed object isString
-
getProductionTime
-
setProductionTime
-
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 Jakarta XML Binding 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
-
getTSAGeneralName
Gets the value of the tsaGeneralName property.- Returns:
- possible object is
XmlTSAGeneralName
-
setTSAGeneralName
Sets the value of the tsaGeneralName property.- Parameters:
value
- allowed object isXmlTSAGeneralName
-
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
-
getFoundEvidenceRecords
-
setFoundEvidenceRecords
-
getTimestampedObjects
-
setTimestampedObjects
-
getTimestampScopes
-
setTimestampScopes
-