//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.04.09 at 09:56:29 PM BST
//
package xades4j.xml.bind.xades;
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 xades4j.xml.bind.Base64XmlAdapter;
import xades4j.xml.bind.xmldsig.XmlDigestMethodType;
/**
* <p>Java class for DigestAlgAndValueType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DigestAlgAndValueType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DigestAlgAndValueType", propOrder = {
"digestMethod",
"digestValue"
})
public class XmlDigestAlgAndValueType {
@XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true)
protected XmlDigestMethodType digestMethod;
@XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true, type = String.class)
@XmlJavaTypeAdapter(Base64XmlAdapter .class)
protected byte[] digestValue;
/**
* Gets the value of the digestMethod property.
*
* @return
* possible object is
* {@link XmlDigestMethodType }
*
*/
public XmlDigestMethodType getDigestMethod() {
return digestMethod;
}
/**
* Sets the value of the digestMethod property.
*
* @param value
* allowed object is
* {@link XmlDigestMethodType }
*
*/
public void setDigestMethod(XmlDigestMethodType value) {
this.digestMethod = value;
}
/**
* Gets the value of the digestValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public byte[] getDigestValue() {
return digestValue;
}
/**
* Sets the value of the digestValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDigestValue(byte[] value) {
this.digestValue = value;
}
}