eu.europa.esig.dss.diagnostic.jaxb.XmlSignatureDigestReference 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.DigestAlgorithm;
/**
* Java class for SignatureDigestReference complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SignatureDigestReference">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CanonicalizationMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="DigestMethod" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="DigestValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SignatureDigestReference", propOrder = {
"canonicalizationMethod",
"digestMethod",
"digestValue"
})
public class XmlSignatureDigestReference implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "CanonicalizationMethod")
protected String canonicalizationMethod;
@XmlElement(name = "DigestMethod", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter19 .class)
protected DigestAlgorithm digestMethod;
@XmlElement(name = "DigestValue", required = true)
protected byte[] digestValue;
/**
* Gets the value of the canonicalizationMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCanonicalizationMethod() {
return canonicalizationMethod;
}
/**
* Sets the value of the canonicalizationMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCanonicalizationMethod(String value) {
this.canonicalizationMethod = value;
}
/**
* 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;
}
}