org.xipki.ca.certprofile.x509.jaxb.ECParameters Maven / Gradle / Ivy
package org.xipki.ca.certprofile.x509.jaxb;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="curves" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="curve" type="{http://xipki.org/ca/xmlprofile/v2}oidWithDescType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="pointEncodings" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="pointEncoding" type="{http://www.w3.org/2001/XMLSchema}byte" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"curves",
"pointEncodings"
})
@XmlRootElement(name = "ECParameters")
public class ECParameters {
protected ECParameters.Curves curves;
protected ECParameters.PointEncodings pointEncodings;
/**
* Gets the value of the curves property.
*
* @return
* possible object is
* {@link ECParameters.Curves }
*
*/
public ECParameters.Curves getCurves() {
return curves;
}
/**
* Sets the value of the curves property.
*
* @param value
* allowed object is
* {@link ECParameters.Curves }
*
*/
public void setCurves(ECParameters.Curves value) {
this.curves = value;
}
/**
* Gets the value of the pointEncodings property.
*
* @return
* possible object is
* {@link ECParameters.PointEncodings }
*
*/
public ECParameters.PointEncodings getPointEncodings() {
return pointEncodings;
}
/**
* Sets the value of the pointEncodings property.
*
* @param value
* allowed object is
* {@link ECParameters.PointEncodings }
*
*/
public void setPointEncodings(ECParameters.PointEncodings value) {
this.pointEncodings = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="curve" type="{http://xipki.org/ca/xmlprofile/v2}oidWithDescType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"curve"
})
public static class Curves {
@XmlElement(required = true)
protected List curve;
/**
* Gets the value of the curve property.
*
*
* 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 set
method for the curve property.
*
*
* For example, to add a new item, do as follows:
*
* getCurve().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OidWithDescType }
*
*
*/
public List getCurve() {
if (curve == null) {
curve = new ArrayList();
}
return this.curve;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="pointEncoding" type="{http://www.w3.org/2001/XMLSchema}byte" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pointEncoding"
})
public static class PointEncodings {
@XmlElement(type = Byte.class)
protected List pointEncoding;
/**
* Gets the value of the pointEncoding property.
*
*
* 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 set
method for the pointEncoding property.
*
*
* For example, to add a new item, do as follows:
*
* getPointEncoding().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Byte }
*
*
*/
public List getPointEncoding() {
if (pointEncoding == null) {
pointEncoding = new ArrayList();
}
return this.pointEncoding;
}
}
}