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 Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.05 at 10:03:59 AM CEST
//
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({
XmlPolicyDigestAlgoAndValue.class,
XmlDigestMatcher.class
})
public class XmlDigestAlgoAndValue implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "DigestMethod", type = String.class)
@XmlJavaTypeAdapter(Adapter24 .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;
}
}