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="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="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
FieldsModifier and TypeFieldDescriptionprotected ArchiveTimestampTypeprotected byte[]protected XmlBasicSignatureprotected List<XmlChainItem>protected XmlDigestAlgoAndValueprotected List<XmlDigestMatcher>protected XmlFoundCertificatesprotected XmlFoundRevocationsprotected XmlPDFRevisionprotected Dateprotected List<XmlSignerInfo>protected XmlSigningCertificateprotected List<XmlTimestampedObject>protected Stringprotected List<XmlSignatureScope>protected XmlTSAGeneralNameprotected TimestampTypeFields inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
id -
Constructor Summary
Constructors -
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 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.voidSets the value of the archiveTimestampType property.voidsetBase64Encoded(byte[] value) Sets the value of the base64Encoded property.voidSets the value of the basicSignature property.voidsetCertificateChain(List<XmlChainItem> certificateChain) voidSets the value of the digestAlgoAndValue property.voidSets the value of the foundCertificates property.voidSets 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) voidSets the value of the signingCertificate property.voidsetTimestampedObjects(List<XmlTimestampedObject> timestampedObjects) voidsetTimestampFilename(String value) Sets the value of the timestampFilename property.voidsetTimestampScopes(List<XmlSignatureScope> timestampScopes) voidSets the value of the tsaGeneralName property.voidsetType(TimestampType value) Sets the value of the type property.Methods inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
getId, setId
-
Field Details
-
timestampFilename
-
archiveTimestampType
-
productionTime
-
digestMatchers
-
basicSignature
-
signingCertificate
-
certificateChain
-
signerInformationStore
-
tsaGeneralName
-
pdfRevision
-
foundCertificates
-
foundRevocations
-
timestampedObjects
-
timestampScopes
-
base64Encoded
protected byte[] base64Encoded -
digestAlgoAndValue
-
type
-
-
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
-
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
-
getTimestampedObjects
-
setTimestampedObjects
-
getTimestampScopes
-
setTimestampScopes
-