eu.europa.esig.dss.diagnostic.jaxb.XmlCertificateRef 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.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.10.20 at 09:59:47 AM EEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.CertificateRefOrigin;
/**
* Java class for CertificateRef complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CertificateRef">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Origin" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateRefOriginType"/>
* <element name="IssuerSerial" type="{http://dss.esig.europa.eu/validation/diagnostic}IssuerSerial" minOccurs="0"/>
* <choice>
* <element name="DigestAlgoAndValue" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue"/>
* <element name="SerialInfo" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerInfo"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CertificateRef", propOrder = {
"origin",
"issuerSerial",
"digestAlgoAndValue",
"serialInfo"
})
public class XmlCertificateRef implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Origin", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter10 .class)
protected CertificateRefOrigin origin;
@XmlElement(name = "IssuerSerial")
protected XmlIssuerSerial issuerSerial;
@XmlElement(name = "DigestAlgoAndValue")
protected XmlDigestAlgoAndValue digestAlgoAndValue;
@XmlElement(name = "SerialInfo")
protected XmlSignerInfo serialInfo;
/**
* Gets the value of the origin property.
*
* @return
* possible object is
* {@link String }
*
*/
public CertificateRefOrigin getOrigin() {
return origin;
}
/**
* Sets the value of the origin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrigin(CertificateRefOrigin value) {
this.origin = value;
}
/**
* Gets the value of the issuerSerial property.
*
* @return
* possible object is
* {@link XmlIssuerSerial }
*
*/
public XmlIssuerSerial getIssuerSerial() {
return issuerSerial;
}
/**
* Sets the value of the issuerSerial property.
*
* @param value
* allowed object is
* {@link XmlIssuerSerial }
*
*/
public void setIssuerSerial(XmlIssuerSerial value) {
this.issuerSerial = 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 serialInfo property.
*
* @return
* possible object is
* {@link XmlSignerInfo }
*
*/
public XmlSignerInfo getSerialInfo() {
return serialInfo;
}
/**
* Sets the value of the serialInfo property.
*
* @param value
* allowed object is
* {@link XmlSignerInfo }
*
*/
public void setSerialInfo(XmlSignerInfo value) {
this.serialInfo = value;
}
}