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/xmldsig | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/xmldsig')
5 files changed, 497 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..c544a9c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java @@ -0,0 +1,230 @@ + +package at.gv.util.xsd.szr.xmldsig; + +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 DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="P" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Q" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="J" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PgenCounter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Seed" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "pgenCounter", + "seed" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y") + protected String y; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + @XmlElement(name = "Seed") + protected String seed; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java new file mode 100644 index 0000000..840b549 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java @@ -0,0 +1,119 @@ + +package at.gv.util.xsd.szr.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.szr.ecdsa.ECDSAKeyValueType; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType" minOccurs="0"/> + * <element name="RSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType" minOccurs="0"/> + * <element ref="{http://www.w3.org/2001/04/xmldsig-more#}ECDSAKeyValue"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "dsaKeyValue", + "rsaKeyValue", + "ecdsaKeyValue" +}) +public class KeyValueType { + + @XmlElement(name = "DSAKeyValue") + protected DSAKeyValueType dsaKeyValue; + @XmlElement(name = "RSAKeyValue") + protected RSAKeyValueType rsaKeyValue; + @XmlElement(name = "ECDSAKeyValue", namespace = "http://www.w3.org/2001/04/xmldsig-more#", required = true) + protected ECDSAKeyValueType ecdsaKeyValue; + + /** + * Gets the value of the dsaKeyValue property. + * + * @return + * possible object is + * {@link DSAKeyValueType } + * + */ + public DSAKeyValueType getDSAKeyValue() { + return dsaKeyValue; + } + + /** + * Sets the value of the dsaKeyValue property. + * + * @param value + * allowed object is + * {@link DSAKeyValueType } + * + */ + public void setDSAKeyValue(DSAKeyValueType value) { + this.dsaKeyValue = value; + } + + /** + * Gets the value of the rsaKeyValue property. + * + * @return + * possible object is + * {@link RSAKeyValueType } + * + */ + public RSAKeyValueType getRSAKeyValue() { + return rsaKeyValue; + } + + /** + * Sets the value of the rsaKeyValue property. + * + * @param value + * allowed object is + * {@link RSAKeyValueType } + * + */ + public void setRSAKeyValue(RSAKeyValueType value) { + this.rsaKeyValue = value; + } + + /** + * Gets the value of the ecdsaKeyValue property. + * + * @return + * possible object is + * {@link ECDSAKeyValueType } + * + */ + public ECDSAKeyValueType getECDSAKeyValue() { + return ecdsaKeyValue; + } + + /** + * Sets the value of the ecdsaKeyValue property. + * + * @param value + * allowed object is + * {@link ECDSAKeyValueType } + * + */ + public void setECDSAKeyValue(ECDSAKeyValueType value) { + this.ecdsaKeyValue = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..5267115 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/ObjectFactory.java @@ -0,0 +1,56 @@ + +package at.gv.util.xsd.szr.xmldsig; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.xmldsig 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 { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..9deeb6b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.xmldsig; + +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 RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus") + protected String modulus; + @XmlElement(name = "Exponent") + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/package-info.java new file mode 100644 index 0000000..703923b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.xmldsig; |