
se.swedenconnect.schemas.dss_1_0.DocumentHash Maven / Gradle / Ivy
//
// 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: 2022.02.24 at 11:49:44 AM CET
//
package se.swedenconnect.schemas.dss_1_0;
import java.math.BigInteger;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.xml.security.binding.xmldsig.DigestMethodType;
import org.apache.xml.security.binding.xmldsig.TransformsType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{urn:oasis:names:tc:dss:1.0:core:schema}DocumentBaseType">
* <sequence>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod" minOccurs="0"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/>
* </sequence>
* <attribute name="WhichReference" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"transforms",
"digestMethod",
"digestValue"
})
@XmlRootElement(name = "DocumentHash")
public class DocumentHash
extends DocumentBaseType
{
@XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected TransformsType transforms;
@XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected DigestMethodType digestMethod;
@XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true)
protected byte[] digestValue;
@XmlAttribute(name = "WhichReference")
protected BigInteger whichReference;
/**
* Gets the value of the transforms property.
*
* @return
* possible object is
* {@link TransformsType }
*
*/
public TransformsType getTransforms() {
return transforms;
}
/**
* Sets the value of the transforms property.
*
* @param value
* allowed object is
* {@link TransformsType }
*
*/
public void setTransforms(TransformsType value) {
this.transforms = value;
}
public boolean isSetTransforms() {
return (this.transforms!= null);
}
/**
* Gets the value of the digestMethod property.
*
* @return
* possible object is
* {@link DigestMethodType }
*
*/
public DigestMethodType getDigestMethod() {
return digestMethod;
}
/**
* Sets the value of the digestMethod property.
*
* @param value
* allowed object is
* {@link DigestMethodType }
*
*/
public void setDigestMethod(DigestMethodType value) {
this.digestMethod = value;
}
public boolean isSetDigestMethod() {
return (this.digestMethod!= null);
}
/**
* 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;
}
public boolean isSetDigestValue() {
return (this.digestValue!= null);
}
/**
* Gets the value of the whichReference property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getWhichReference() {
return whichReference;
}
/**
* Sets the value of the whichReference property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setWhichReference(BigInteger value) {
this.whichReference = value;
}
public boolean isSetWhichReference() {
return (this.whichReference!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy