View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  
18  
19  package org.w3._2000._09.xmldsig_;
20  
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlElement;
24  import javax.xml.bind.annotation.XmlType;
25  
26  
27  /**
28   * <p>Java class for DSAKeyValueType complex type.
29   * 
30   * <p>The following schema fragment specifies the expected content contained within this class.
31   * 
32   * <pre>
33   * &lt;complexType name="DSAKeyValueType">
34   *   &lt;complexContent>
35   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *       &lt;sequence>
37   *         &lt;sequence minOccurs="0">
38   *           &lt;element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
39   *           &lt;element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
40   *         &lt;/sequence>
41   *         &lt;element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/>
42   *         &lt;element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
43   *         &lt;element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/>
44   *         &lt;sequence minOccurs="0">
45   *           &lt;element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
46   *           &lt;element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
47   *         &lt;/sequence>
48   *       &lt;/sequence>
49   *     &lt;/restriction>
50   *   &lt;/complexContent>
51   * &lt;/complexType>
52   * </pre>
53   * 
54   * 
55   */
56  @XmlAccessorType(XmlAccessType.FIELD)
57  @XmlType(name = "DSAKeyValueType", propOrder = {
58      "p",
59      "q",
60      "g",
61      "y",
62      "j",
63      "seed",
64      "pgenCounter"
65  })
66  public class DSAKeyValueType {
67  
68      @XmlElement(name = "P")
69      protected byte[] p;
70      @XmlElement(name = "Q")
71      protected byte[] q;
72      @XmlElement(name = "G")
73      protected byte[] g;
74      @XmlElement(name = "Y", required = true)
75      protected byte[] y;
76      @XmlElement(name = "J")
77      protected byte[] j;
78      @XmlElement(name = "Seed")
79      protected byte[] seed;
80      @XmlElement(name = "PgenCounter")
81      protected byte[] pgenCounter;
82  
83      /**
84       * Gets the value of the p property.
85       * 
86       * @return
87       *     possible object is
88       *     byte[]
89       */
90      public byte[] getP() {
91          return p;
92      }
93  
94      /**
95       * Sets the value of the p property.
96       * 
97       * @param value
98       *     allowed object is
99       *     byte[]
100      */
101     public void setP(byte[] value) {
102         this.p = ((byte[]) value);
103     }
104 
105     /**
106      * Gets the value of the q property.
107      * 
108      * @return
109      *     possible object is
110      *     byte[]
111      */
112     public byte[] getQ() {
113         return q;
114     }
115 
116     /**
117      * Sets the value of the q property.
118      * 
119      * @param value
120      *     allowed object is
121      *     byte[]
122      */
123     public void setQ(byte[] value) {
124         this.q = ((byte[]) value);
125     }
126 
127     /**
128      * Gets the value of the g property.
129      * 
130      * @return
131      *     possible object is
132      *     byte[]
133      */
134     public byte[] getG() {
135         return g;
136     }
137 
138     /**
139      * Sets the value of the g property.
140      * 
141      * @param value
142      *     allowed object is
143      *     byte[]
144      */
145     public void setG(byte[] value) {
146         this.g = ((byte[]) value);
147     }
148 
149     /**
150      * Gets the value of the y property.
151      * 
152      * @return
153      *     possible object is
154      *     byte[]
155      */
156     public byte[] getY() {
157         return y;
158     }
159 
160     /**
161      * Sets the value of the y property.
162      * 
163      * @param value
164      *     allowed object is
165      *     byte[]
166      */
167     public void setY(byte[] value) {
168         this.y = ((byte[]) value);
169     }
170 
171     /**
172      * Gets the value of the j property.
173      * 
174      * @return
175      *     possible object is
176      *     byte[]
177      */
178     public byte[] getJ() {
179         return j;
180     }
181 
182     /**
183      * Sets the value of the j property.
184      * 
185      * @param value
186      *     allowed object is
187      *     byte[]
188      */
189     public void setJ(byte[] value) {
190         this.j = ((byte[]) value);
191     }
192 
193     /**
194      * Gets the value of the seed property.
195      * 
196      * @return
197      *     possible object is
198      *     byte[]
199      */
200     public byte[] getSeed() {
201         return seed;
202     }
203 
204     /**
205      * Sets the value of the seed property.
206      * 
207      * @param value
208      *     allowed object is
209      *     byte[]
210      */
211     public void setSeed(byte[] value) {
212         this.seed = ((byte[]) value);
213     }
214 
215     /**
216      * Gets the value of the pgenCounter property.
217      * 
218      * @return
219      *     possible object is
220      *     byte[]
221      */
222     public byte[] getPgenCounter() {
223         return pgenCounter;
224     }
225 
226     /**
227      * Sets the value of the pgenCounter property.
228      * 
229      * @param value
230      *     allowed object is
231      *     byte[]
232      */
233     public void setPgenCounter(byte[] value) {
234         this.pgenCounter = ((byte[]) value);
235     }
236 
237 }