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.
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 eu.europa.esig.dss.enumerations.DigestAlgorithm;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* 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;
}
}