All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.europa.esig.dss.diagnostic.jaxb.XmlTimestamp Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.09.11 at 03:26:28 PM CEST 
//


package eu.europa.esig.dss.diagnostic.jaxb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import eu.europa.esig.dss.enumerations.ArchiveTimestampType;
import eu.europa.esig.dss.enumerations.EvidenceRecordTimestampType;
import eu.europa.esig.dss.enumerations.TimestampType;
import eu.europa.esig.dss.jaxb.parsers.DateParser;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Timestamp", propOrder = { "timestampFilename", "archiveTimestampType", "evidenceRecordTimestampType", "productionTime", "digestMatchers", "basicSignature", "signingCertificate", "certificateChain", "signerInformationStore", "tsaGeneralName", "pdfRevision", "foundCertificates", "foundRevocations", "foundEvidenceRecords", "timestampedObjects", "timestampScopes", "base64Encoded", "digestAlgoAndValue" }) public class XmlTimestamp extends XmlAbstractToken implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "TimestampFilename") protected String timestampFilename; @XmlElement(name = "ArchiveTimestampType", type = String.class) @XmlJavaTypeAdapter(Adapter15 .class) protected ArchiveTimestampType archiveTimestampType; @XmlElement(name = "EvidenceRecordTimestampType", type = String.class) @XmlJavaTypeAdapter(Adapter16 .class) protected EvidenceRecordTimestampType evidenceRecordTimestampType; @XmlElement(name = "ProductionTime", required = true, type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date productionTime; @XmlElement(name = "DigestMatcher", required = true) protected List digestMatchers; @XmlElement(name = "BasicSignature", required = true) protected XmlBasicSignature basicSignature; @XmlElement(name = "SigningCertificate") protected XmlSigningCertificate signingCertificate; @XmlElementWrapper(name = "CertificateChain") @XmlElement(name = "ChainItem", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List certificateChain; @XmlElementWrapper(name = "SignerInformationStore") @XmlElement(name = "SignerInfo", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List signerInformationStore; @XmlElement(name = "TSAGeneralName") protected XmlTSAGeneralName tsaGeneralName; @XmlElement(name = "PDFRevision") protected XmlPDFRevision pdfRevision; @XmlElement(name = "FoundCertificates", required = true) protected XmlFoundCertificates foundCertificates; @XmlElement(name = "FoundRevocations", required = true) protected XmlFoundRevocations foundRevocations; @XmlElementWrapper(name = "FoundEvidenceRecords") @XmlElement(name = "FoundEvidenceRecord", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List foundEvidenceRecords; @XmlElementWrapper(name = "TimestampedObjects", required = true) @XmlElement(name = "TimestampedObject", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List timestampedObjects; @XmlElementWrapper(name = "TimestampScopes") @XmlElement(name = "TimestampScope", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List timestampScopes; @XmlElement(name = "Base64Encoded") protected byte[] base64Encoded; @XmlElement(name = "DigestAlgoAndValue") protected XmlDigestAlgoAndValue digestAlgoAndValue; @XmlAttribute(name = "Type", required = true) @XmlJavaTypeAdapter(Adapter14 .class) protected TimestampType type; /** * Gets the value of the timestampFilename property. * * @return * possible object is * {@link String } * */ public String getTimestampFilename() { return timestampFilename; } /** * Sets the value of the timestampFilename property. * * @param value * allowed object is * {@link String } * */ public void setTimestampFilename(String value) { this.timestampFilename = value; } /** * Gets the value of the archiveTimestampType property. * * @return * possible object is * {@link String } * */ public ArchiveTimestampType getArchiveTimestampType() { return archiveTimestampType; } /** * Sets the value of the archiveTimestampType property. * * @param value * allowed object is * {@link String } * */ public void setArchiveTimestampType(ArchiveTimestampType value) { this.archiveTimestampType = value; } /** * Gets the value of the evidenceRecordTimestampType property. * * @return * possible object is * {@link String } * */ public EvidenceRecordTimestampType getEvidenceRecordTimestampType() { return evidenceRecordTimestampType; } /** * Sets the value of the evidenceRecordTimestampType property. * * @param value * allowed object is * {@link String } * */ public void setEvidenceRecordTimestampType(EvidenceRecordTimestampType value) { this.evidenceRecordTimestampType = value; } /** * Gets the value of the productionTime property. * * @return * possible object is * {@link String } * */ public Date getProductionTime() { return productionTime; } /** * Sets the value of the productionTime property. * * @param value * allowed object is * {@link String } * */ public void setProductionTime(Date value) { this.productionTime = value; } /** * 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 * {@link XmlDigestMatcher } * * */ public List getDigestMatchers() { if (digestMatchers == null) { digestMatchers = new ArrayList(); } return this.digestMatchers; } /** * Gets the value of the basicSignature property. * * @return * possible object is * {@link XmlBasicSignature } * */ public XmlBasicSignature getBasicSignature() { return basicSignature; } /** * Sets the value of the basicSignature property. * * @param value * allowed object is * {@link XmlBasicSignature } * */ public void setBasicSignature(XmlBasicSignature value) { this.basicSignature = value; } /** * Gets the value of the signingCertificate property. * * @return * possible object is * {@link XmlSigningCertificate } * */ public XmlSigningCertificate getSigningCertificate() { return signingCertificate; } /** * Sets the value of the signingCertificate property. * * @param value * allowed object is * {@link XmlSigningCertificate } * */ public void setSigningCertificate(XmlSigningCertificate value) { this.signingCertificate = value; } /** * Gets the value of the tsaGeneralName property. * * @return * possible object is * {@link XmlTSAGeneralName } * */ public XmlTSAGeneralName getTSAGeneralName() { return tsaGeneralName; } /** * Sets the value of the tsaGeneralName property. * * @param value * allowed object is * {@link XmlTSAGeneralName } * */ public void setTSAGeneralName(XmlTSAGeneralName value) { this.tsaGeneralName = value; } /** * Gets the value of the pdfRevision property. * * @return * possible object is * {@link XmlPDFRevision } * */ public XmlPDFRevision getPDFRevision() { return pdfRevision; } /** * Sets the value of the pdfRevision property. * * @param value * allowed object is * {@link XmlPDFRevision } * */ public void setPDFRevision(XmlPDFRevision value) { this.pdfRevision = value; } /** * Gets the value of the foundCertificates property. * * @return * possible object is * {@link XmlFoundCertificates } * */ public XmlFoundCertificates getFoundCertificates() { return foundCertificates; } /** * Sets the value of the foundCertificates property. * * @param value * allowed object is * {@link XmlFoundCertificates } * */ public void setFoundCertificates(XmlFoundCertificates value) { this.foundCertificates = value; } /** * Gets the value of the foundRevocations property. * * @return * possible object is * {@link XmlFoundRevocations } * */ public XmlFoundRevocations getFoundRevocations() { return foundRevocations; } /** * Sets the value of the foundRevocations property. * * @param value * allowed object is * {@link XmlFoundRevocations } * */ public void setFoundRevocations(XmlFoundRevocations value) { this.foundRevocations = value; } /** * Gets the value of the base64Encoded property. * * @return * possible object is * byte[] */ public byte[] getBase64Encoded() { return base64Encoded; } /** * Sets the value of the base64Encoded property. * * @param value * allowed object is * byte[] */ public void setBase64Encoded(byte[] value) { this.base64Encoded = value; } /** * Gets the value of the digestAlgoAndValue property. * * @return * possible object is * {@link XmlDigestAlgoAndValue } * */ public XmlDigestAlgoAndValue getDigestAlgoAndValue() { return digestAlgoAndValue; } /** * Sets the value of the digestAlgoAndValue property. * * @param value * allowed object is * {@link XmlDigestAlgoAndValue } * */ public void setDigestAlgoAndValue(XmlDigestAlgoAndValue value) { this.digestAlgoAndValue = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public TimestampType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(TimestampType value) { this.type = value; } public List getCertificateChain() { if (certificateChain == null) { certificateChain = new ArrayList(); } return certificateChain; } public void setCertificateChain(List certificateChain) { this.certificateChain = certificateChain; } public List getSignerInformationStore() { if (signerInformationStore == null) { signerInformationStore = new ArrayList(); } return signerInformationStore; } public void setSignerInformationStore(List signerInformationStore) { this.signerInformationStore = signerInformationStore; } public List getFoundEvidenceRecords() { if (foundEvidenceRecords == null) { foundEvidenceRecords = new ArrayList(); } return foundEvidenceRecords; } public void setFoundEvidenceRecords(List foundEvidenceRecords) { this.foundEvidenceRecords = foundEvidenceRecords; } public List getTimestampedObjects() { if (timestampedObjects == null) { timestampedObjects = new ArrayList(); } return timestampedObjects; } public void setTimestampedObjects(List timestampedObjects) { this.timestampedObjects = timestampedObjects; } public List getTimestampScopes() { if (timestampScopes == null) { timestampScopes = new ArrayList(); } return timestampScopes; } public void setTimestampScopes(List timestampScopes) { this.timestampScopes = timestampScopes; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy