//
// 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: 2014.02.10 at 10:02:26 PM CET
//
package ietf.params.xml.ns.keyprov.pskc;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.w3._2001._04.xmlenc_.EncryptedDataType;
import org.w3c.dom.Element;
/**
* <p>Java class for MACMethodType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="MACMethodType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="MACKey" type="{http://www.w3.org/2001/04/xmlenc#}EncryptedDataType" minOccurs="0"/>
* <element name="MACKeyReference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </choice>
* <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MACMethodType", propOrder = {
"macKey",
"macKeyReference",
"any"
})
public class MACMethodType {
@XmlElement(name = "MACKey")
protected EncryptedDataType macKey;
@XmlElement(name = "MACKeyReference")
protected String macKeyReference;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(name = "Algorithm", required = true)
@XmlSchemaType(name = "anyURI")
protected String algorithm;
/**
* Gets the value of the macKey property.
*
* @return
* possible object is
* {@link EncryptedDataType }
*
*/
public EncryptedDataType getMACKey() {
return macKey;
}
/**
* Sets the value of the macKey property.
*
* @param value
* allowed object is
* {@link EncryptedDataType }
*
*/
public void setMACKey(EncryptedDataType value) {
this.macKey = value;
}
/**
* Gets the value of the macKeyReference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMACKeyReference() {
return macKeyReference;
}
/**
* Sets the value of the macKeyReference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMACKeyReference(String value) {
this.macKeyReference = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets the value of the algorithm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlgorithm() {
return algorithm;
}
/**
* Sets the value of the algorithm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlgorithm(String value) {
this.algorithm = value;
}
}