eu.europa.esig.dss.diagnostic.jaxb.XmlDigestAlgoAndValue 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.DigestAlgorithm;
/**
* Java class for DigestAlgoAndValue complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DigestAlgoAndValue">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DigestMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="DigestValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* </sequence>
* <attribute name="match" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DigestAlgoAndValue", propOrder = {
"digestMethod",
"digestValue"
})
@XmlSeeAlso({
XmlDigestMatcher.class
})
public class XmlDigestAlgoAndValue implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "DigestMethod", type = String.class)
@XmlJavaTypeAdapter(Adapter20 .class)
protected DigestAlgorithm digestMethod;
@XmlElement(name = "DigestValue")
protected byte[] digestValue;
@XmlAttribute(name = "match")
protected Boolean match;
/**
* Gets the value of the digestMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public DigestAlgorithm getDigestMethod() {
return digestMethod;
}
/**
* Sets the value of the digestMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDigestMethod(DigestAlgorithm value) {
this.digestMethod = value;
}
/**
* Gets the value of the digestValue property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getDigestValue() {
return digestValue;
}
/**
* Sets the value of the digestValue property.
*
* @param value
* allowed object is
* byte[]
*/
public void setDigestValue(byte[] value) {
this.digestValue = value;
}
/**
* Gets the value of the match property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMatch() {
return match;
}
/**
* Sets the value of the match property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMatch(Boolean value) {
this.match = value;
}
}