diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java/at/gv/util/xsd/szr/ecdsa | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/ecdsa')
7 files changed, 445 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java new file mode 100644 index 0000000..e3d6d69 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DomainParamsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DomainParamsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="NamedCurve" type="{http://www.w3.org/2001/04/xmldsig-more#}NamedCurveType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DomainParamsType", propOrder = { + "namedCurve" +}) +public class DomainParamsType { + + @XmlElement(name = "NamedCurve") + protected NamedCurveType namedCurve; + + /** + * Gets the value of the namedCurve property. + * + * @return + * possible object is + * {@link NamedCurveType } + * + */ + public NamedCurveType getNamedCurve() { + return namedCurve; + } + + /** + * Sets the value of the namedCurve property. + * + * @param value + * allowed object is + * {@link NamedCurveType } + * + */ + public void setNamedCurve(NamedCurveType value) { + this.namedCurve = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java new file mode 100644 index 0000000..25e1c3e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ECDSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ECDSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DomainParameters" type="{http://www.w3.org/2001/04/xmldsig-more#}DomainParamsType" minOccurs="0"/> + * <element name="PublicKey" type="{http://www.w3.org/2001/04/xmldsig-more#}ECPointType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ECDSAKeyValueType", propOrder = { + "domainParameters", + "publicKey" +}) +public class ECDSAKeyValueType { + + @XmlElement(name = "DomainParameters") + protected DomainParamsType domainParameters; + @XmlElement(name = "PublicKey", required = true) + protected ECPointType publicKey; + + /** + * Gets the value of the domainParameters property. + * + * @return + * possible object is + * {@link DomainParamsType } + * + */ + public DomainParamsType getDomainParameters() { + return domainParameters; + } + + /** + * Sets the value of the domainParameters property. + * + * @param value + * allowed object is + * {@link DomainParamsType } + * + */ + public void setDomainParameters(DomainParamsType value) { + this.domainParameters = value; + } + + /** + * Gets the value of the publicKey property. + * + * @return + * possible object is + * {@link ECPointType } + * + */ + public ECPointType getPublicKey() { + return publicKey; + } + + /** + * Sets the value of the publicKey property. + * + * @param value + * allowed object is + * {@link ECPointType } + * + */ + public void setPublicKey(ECPointType value) { + this.publicKey = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java new file mode 100644 index 0000000..895fd6c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ECPointType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ECPointType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="X" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> + * <element name="Y" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ECPointType", propOrder = { + "x", + "y" +}) +public class ECPointType { + + @XmlElement(name = "X") + protected PrimeFieldElemType x; + @XmlElement(name = "Y") + protected PrimeFieldElemType y; + + /** + * Gets the value of the x property. + * + * @return + * possible object is + * {@link PrimeFieldElemType } + * + */ + public PrimeFieldElemType getX() { + return x; + } + + /** + * Sets the value of the x property. + * + * @param value + * allowed object is + * {@link PrimeFieldElemType } + * + */ + public void setX(PrimeFieldElemType value) { + this.x = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link PrimeFieldElemType } + * + */ + public PrimeFieldElemType getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link PrimeFieldElemType } + * + */ + public void setY(PrimeFieldElemType value) { + this.y = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java new file mode 100644 index 0000000..e612756 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java @@ -0,0 +1,58 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for NamedCurveType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NamedCurveType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="URN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NamedCurveType") +public class NamedCurveType { + + @XmlAttribute(name = "URN", required = true) + protected String urn; + + /** + * Gets the value of the urn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURN() { + return urn; + } + + /** + * Sets the value of the urn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURN(String value) { + this.urn = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java new file mode 100644 index 0000000..70cca4f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.ecdsa package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ECDSAKeyValue_QNAME = new QName("http://www.w3.org/2001/04/xmldsig-more#", "ECDSAKeyValue"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.ecdsa + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ECDSAKeyValueType } + * + */ + public ECDSAKeyValueType createECDSAKeyValueType() { + return new ECDSAKeyValueType(); + } + + /** + * Create an instance of {@link DomainParamsType } + * + */ + public DomainParamsType createDomainParamsType() { + return new DomainParamsType(); + } + + /** + * Create an instance of {@link NamedCurveType } + * + */ + public NamedCurveType createNamedCurveType() { + return new NamedCurveType(); + } + + /** + * Create an instance of {@link ECPointType } + * + */ + public ECPointType createECPointType() { + return new ECPointType(); + } + + /** + * Create an instance of {@link PrimeFieldElemType } + * + */ + public PrimeFieldElemType createPrimeFieldElemType() { + return new PrimeFieldElemType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ECDSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmldsig-more#", name = "ECDSAKeyValue") + public JAXBElement<ECDSAKeyValueType> createECDSAKeyValue(ECDSAKeyValueType value) { + return new JAXBElement<ECDSAKeyValueType>(_ECDSAKeyValue_QNAME, ECDSAKeyValueType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java new file mode 100644 index 0000000..030dd66 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java @@ -0,0 +1,58 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PrimeFieldElemType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PrimeFieldElemType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PrimeFieldElemType") +public class PrimeFieldElemType { + + @XmlAttribute(name = "Value", required = true) + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java new file mode 100644 index 0000000..d31ae70 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2001/04/xmldsig-more#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.ecdsa; |