eu.europa.esig.dss.diagnostic.jaxb.XmlRevocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dss-diagnostic-jaxb Show documentation
Show all versions of dss-diagnostic-jaxb Show documentation
Generated source from XSD for Diagnostic Data.
The newest version!
//
// 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.06.17 at 03:23:20 PM EEST
//
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.RevocationOrigin;
import eu.europa.esig.dss.enumerations.RevocationType;
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.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 Revocation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Revocation">
* <complexContent>
* <extension base="{http://dss.esig.europa.eu/validation/diagnostic}AbstractToken">
* <sequence>
* <element name="Origin" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationOriginType"/>
* <element name="Type" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationType"/>
* <element name="SourceAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ProductionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="ThisUpdate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="NextUpdate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="ExpiredCertsOnCRL" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="ArchiveCutOff" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="CertHashExtensionPresent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="CertHashExtensionMatch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="BasicSignature" type="{http://dss.esig.europa.eu/validation/diagnostic}BasicSignature" minOccurs="0"/>
* <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="FoundCertificates" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundCertificates" minOccurs="0"/>
* <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>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Revocation", propOrder = {
"origin",
"type",
"sourceAddress",
"productionDate",
"thisUpdate",
"nextUpdate",
"expiredCertsOnCRL",
"archiveCutOff",
"certHashExtensionPresent",
"certHashExtensionMatch",
"basicSignature",
"signingCertificate",
"certificateChain",
"foundCertificates",
"base64Encoded",
"digestAlgoAndValue"
})
public class XmlRevocation
extends XmlAbstractToken
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Origin", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter20 .class)
protected RevocationOrigin origin;
@XmlElement(name = "Type", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter19 .class)
protected RevocationType type;
@XmlElement(name = "SourceAddress")
protected String sourceAddress;
@XmlElement(name = "ProductionDate", type = String.class)
@XmlJavaTypeAdapter(DateParser.class)
@XmlSchemaType(name = "dateTime")
protected Date productionDate;
@XmlElement(name = "ThisUpdate", type = String.class)
@XmlJavaTypeAdapter(DateParser.class)
@XmlSchemaType(name = "dateTime")
protected Date thisUpdate;
@XmlElement(name = "NextUpdate", type = String.class)
@XmlJavaTypeAdapter(DateParser.class)
@XmlSchemaType(name = "dateTime")
protected Date nextUpdate;
@XmlElement(name = "ExpiredCertsOnCRL", type = String.class)
@XmlJavaTypeAdapter(DateParser.class)
@XmlSchemaType(name = "dateTime")
protected Date expiredCertsOnCRL;
@XmlElement(name = "ArchiveCutOff", type = String.class)
@XmlJavaTypeAdapter(DateParser.class)
@XmlSchemaType(name = "dateTime")
protected Date archiveCutOff;
@XmlElement(name = "CertHashExtensionPresent")
protected Boolean certHashExtensionPresent;
@XmlElement(name = "CertHashExtensionMatch")
protected Boolean certHashExtensionMatch;
@XmlElement(name = "BasicSignature")
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;
@XmlElement(name = "FoundCertificates")
protected XmlFoundCertificates foundCertificates;
@XmlElement(name = "Base64Encoded")
protected byte[] base64Encoded;
@XmlElement(name = "DigestAlgoAndValue")
protected XmlDigestAlgoAndValue digestAlgoAndValue;
/**
* Gets the value of the origin property.
*
* @return
* possible object is
* {@link String }
*
*/
public RevocationOrigin getOrigin() {
return origin;
}
/**
* Sets the value of the origin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrigin(RevocationOrigin value) {
this.origin = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public RevocationType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(RevocationType value) {
this.type = value;
}
/**
* Gets the value of the sourceAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceAddress() {
return sourceAddress;
}
/**
* Sets the value of the sourceAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceAddress(String value) {
this.sourceAddress = value;
}
/**
* Gets the value of the productionDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getProductionDate() {
return productionDate;
}
/**
* Sets the value of the productionDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProductionDate(Date value) {
this.productionDate = value;
}
/**
* Gets the value of the thisUpdate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getThisUpdate() {
return thisUpdate;
}
/**
* Sets the value of the thisUpdate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setThisUpdate(Date value) {
this.thisUpdate = value;
}
/**
* Gets the value of the nextUpdate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getNextUpdate() {
return nextUpdate;
}
/**
* Sets the value of the nextUpdate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNextUpdate(Date value) {
this.nextUpdate = value;
}
/**
* Gets the value of the expiredCertsOnCRL property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getExpiredCertsOnCRL() {
return expiredCertsOnCRL;
}
/**
* Sets the value of the expiredCertsOnCRL property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpiredCertsOnCRL(Date value) {
this.expiredCertsOnCRL = value;
}
/**
* Gets the value of the archiveCutOff property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getArchiveCutOff() {
return archiveCutOff;
}
/**
* Sets the value of the archiveCutOff property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArchiveCutOff(Date value) {
this.archiveCutOff = value;
}
/**
* Gets the value of the certHashExtensionPresent property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCertHashExtensionPresent() {
return certHashExtensionPresent;
}
/**
* Sets the value of the certHashExtensionPresent property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCertHashExtensionPresent(Boolean value) {
this.certHashExtensionPresent = value;
}
/**
* Gets the value of the certHashExtensionMatch property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCertHashExtensionMatch() {
return certHashExtensionMatch;
}
/**
* Sets the value of the certHashExtensionMatch property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCertHashExtensionMatch(Boolean value) {
this.certHashExtensionMatch = value;
}
/**
* 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 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 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;
}
public List getCertificateChain() {
if (certificateChain == null) {
certificateChain = new ArrayList();
}
return certificateChain;
}
public void setCertificateChain(List certificateChain) {
this.certificateChain = certificateChain;
}
}