From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../at/gv/util/xsd/szr/ecdsa/DomainParamsType.java | 62 +++++++++++++++ .../gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java | 90 ++++++++++++++++++++++ .../java/at/gv/util/xsd/szr/ecdsa/ECPointType.java | 90 ++++++++++++++++++++++ .../at/gv/util/xsd/szr/ecdsa/NamedCurveType.java | 58 ++++++++++++++ .../at/gv/util/xsd/szr/ecdsa/ObjectFactory.java | 85 ++++++++++++++++++++ .../gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java | 58 ++++++++++++++ .../at/gv/util/xsd/szr/ecdsa/package-info.java | 2 + 7 files changed, 445 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java create mode 100644 src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java (limited to 'src/main/java/at/gv/util/xsd/szr/ecdsa') 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; + + +/** + *

Java class for DomainParamsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + + +/** + *

Java class for ECDSAKeyValueType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + + +/** + *

Java class for ECPointType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + + +/** + *

Java class for NamedCurveType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <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>
+ * 
+ * + * + */ +@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. + *

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 createECDSAKeyValue(ECDSAKeyValueType value) { + return new JAXBElement(_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; + + +/** + *

Java class for PrimeFieldElemType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; -- cgit v1.2.3