org.apache.xml.security.binding.xmldsig11.ECParametersType Maven / Gradle / Ivy
package org.apache.xml.security.binding.xmldsig11;
import java.math.BigInteger;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for ECParametersType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ECParametersType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="FieldID" type="{http://www.w3.org/2009/xmldsig11#}FieldIDType"/>
* <element name="Curve" type="{http://www.w3.org/2009/xmldsig11#}CurveType"/>
* <element name="Base" type="{http://www.w3.org/2009/xmldsig11#}ECPointType"/>
* <element name="Order" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
* <element name="CoFactor" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="ValidationData" type="{http://www.w3.org/2009/xmldsig11#}ECValidationDataType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ECParametersType", namespace = "http://www.w3.org/2009/xmldsig11#", propOrder = {
"fieldID",
"curve",
"base",
"order",
"coFactor",
"validationData"
})
public class ECParametersType {
@XmlElement(name = "FieldID", namespace = "http://www.w3.org/2009/xmldsig11#", required = true)
protected FieldIDType fieldID;
@XmlElement(name = "Curve", namespace = "http://www.w3.org/2009/xmldsig11#", required = true)
protected CurveType curve;
@XmlElement(name = "Base", namespace = "http://www.w3.org/2009/xmldsig11#", required = true)
protected byte[] base;
@XmlElement(name = "Order", namespace = "http://www.w3.org/2009/xmldsig11#", required = true)
protected byte[] order;
@XmlElement(name = "CoFactor", namespace = "http://www.w3.org/2009/xmldsig11#")
protected BigInteger coFactor;
@XmlElement(name = "ValidationData", namespace = "http://www.w3.org/2009/xmldsig11#")
protected ECValidationDataType validationData;
/**
* Gets the value of the fieldID property.
*
* @return
* possible object is
* {@link FieldIDType }
*
*/
public FieldIDType getFieldID() {
return fieldID;
}
/**
* Sets the value of the fieldID property.
*
* @param value
* allowed object is
* {@link FieldIDType }
*
*/
public void setFieldID(FieldIDType value) {
this.fieldID = value;
}
/**
* Gets the value of the curve property.
*
* @return
* possible object is
* {@link CurveType }
*
*/
public CurveType getCurve() {
return curve;
}
/**
* Sets the value of the curve property.
*
* @param value
* allowed object is
* {@link CurveType }
*
*/
public void setCurve(CurveType value) {
this.curve = value;
}
/**
* Gets the value of the base property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getBase() {
return base;
}
/**
* Sets the value of the base property.
*
* @param value
* allowed object is
* byte[]
*/
public void setBase(byte[] value) {
this.base = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* byte[]
*/
public void setOrder(byte[] value) {
this.order = value;
}
/**
* Gets the value of the coFactor property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCoFactor() {
return coFactor;
}
/**
* Sets the value of the coFactor property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCoFactor(BigInteger value) {
this.coFactor = value;
}
/**
* Gets the value of the validationData property.
*
* @return
* possible object is
* {@link ECValidationDataType }
*
*/
public ECValidationDataType getValidationData() {
return validationData;
}
/**
* Sets the value of the validationData property.
*
* @param value
* allowed object is
* {@link ECValidationDataType }
*
*/
public void setValidationData(ECValidationDataType value) {
this.validationData = value;
}
}