eu.europa.esig.dss.diagnostic.jaxb.XmlOrphanRevocationToken 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 eu.europa.esig.dss.enumerations.RevocationType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for OrphanRevocationToken complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OrphanRevocationToken">
* <complexContent>
* <extension base="{http://dss.esig.europa.eu/validation/diagnostic}OrphanToken">
* <sequence>
* <element name="RevocationType" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationType"/>
* <choice minOccurs="0">
* <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 = "OrphanRevocationToken", propOrder = {
"revocationType",
"base64Encoded",
"digestAlgoAndValue"
})
public class XmlOrphanRevocationToken
extends XmlOrphanToken
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "RevocationType", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter20 .class)
protected RevocationType revocationType;
@XmlElement(name = "Base64Encoded")
protected byte[] base64Encoded;
@XmlElement(name = "DigestAlgoAndValue")
protected XmlDigestAlgoAndValue digestAlgoAndValue;
/**
* Gets the value of the revocationType property.
*
* @return
* possible object is
* {@link String }
*
*/
public RevocationType getRevocationType() {
return revocationType;
}
/**
* Sets the value of the revocationType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRevocationType(RevocationType value) {
this.revocationType = 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;
}
}