package eu.aniketos.ncvm.spdm.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Key complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Key">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="algorithm" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="encoded" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* <element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Key", namespace = "http://security.java", propOrder = {
"algorithm",
"encoded",
"format"
})
@XmlSeeAlso({
PublicKey.class
})
public class Key {
@XmlElementRef(name = "algorithm", namespace = "http://security.java", type = JAXBElement.class)
protected JAXBElement<String> algorithm;
@XmlElementRef(name = "encoded", namespace = "http://security.java", type = JAXBElement.class)
protected JAXBElement<byte[]> encoded;
@XmlElementRef(name = "format", namespace = "http://security.java", type = JAXBElement.class)
protected JAXBElement<String> format;
/**
* Gets the value of the algorithm property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getAlgorithm() {
return algorithm;
}
/**
* Sets the value of the algorithm property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setAlgorithm(JAXBElement<String> value) {
this.algorithm = value;
}
/**
* Gets the value of the encoded property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link byte[]}{@code >}
*
*/
public JAXBElement<byte[]> getEncoded() {
return encoded;
}
/**
* Sets the value of the encoded property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link byte[]}{@code >}
*
*/
public void setEncoded(JAXBElement<byte[]> value) {
this.encoded = value;
}
/**
* Gets the value of the format property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setFormat(JAXBElement<String> value) {
this.format = value;
}
}