KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2002 > _03 > xkms_ > RSAKeyPairType


1
2 package org.w3._2002._03.xkms_;
3
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlRootElement;
8 import javax.xml.bind.annotation.XmlType;
9
10
11 /**
12  * <p>Java class for RSAKeyPairType complex type.
13  *
14  * <p>The following schema fragment specifies the expected content contained within this class.
15  *
16  * <pre>
17  * &lt;complexType name="RSAKeyPairType">
18  * &lt;complexContent>
19  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20  * &lt;sequence>
21  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}Modulus"/>
22  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}Exponent"/>
23  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}P"/>
24  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}Q"/>
25  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}DP"/>
26  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}DQ"/>
27  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}InverseQ"/>
28  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}D"/>
29  * &lt;/sequence>
30  * &lt;/restriction>
31  * &lt;/complexContent>
32  * &lt;/complexType>
33  * </pre>
34  *
35  *
36  */

37 @XmlRootElement
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "RSAKeyPairType", propOrder = {
40     "modulus",
41     "exponent",
42     "p",
43     "q",
44     "dp",
45     "dq",
46     "inverseQ",
47     "d"
48 })
49 public class RSAKeyPairType {
50
51     @XmlElement(name = "Modulus", required = true)
52     protected byte[] modulus;
53     @XmlElement(name = "Exponent", required = true)
54     protected byte[] exponent;
55     @XmlElement(name = "P", required = true)
56     protected byte[] p;
57     @XmlElement(name = "Q", required = true)
58     protected byte[] q;
59     @XmlElement(name = "DP", required = true)
60     protected byte[] dp;
61     @XmlElement(name = "DQ", required = true)
62     protected byte[] dq;
63     @XmlElement(name = "InverseQ", required = true)
64     protected byte[] inverseQ;
65     @XmlElement(name = "D", required = true)
66     protected byte[] d;
67
68     /**
69      * Gets the value of the modulus property.
70      *
71      * @return
72      * possible object is
73      * byte[]
74      */

75     public byte[] getModulus() {
76         return modulus;
77     }
78
79     /**
80      * Sets the value of the modulus property.
81      *
82      * @param value
83      * allowed object is
84      * byte[]
85      */

86     public void setModulus(byte[] value) {
87         this.modulus = ((byte[]) value);
88     }
89
90     /**
91      * Gets the value of the exponent property.
92      *
93      * @return
94      * possible object is
95      * byte[]
96      */

97     public byte[] getExponent() {
98         return exponent;
99     }
100
101     /**
102      * Sets the value of the exponent property.
103      *
104      * @param value
105      * allowed object is
106      * byte[]
107      */

108     public void setExponent(byte[] value) {
109         this.exponent = ((byte[]) value);
110     }
111
112     /**
113      * Gets the value of the p property.
114      *
115      * @return
116      * possible object is
117      * byte[]
118      */

119     public byte[] getP() {
120         return p;
121     }
122
123     /**
124      * Sets the value of the p property.
125      *
126      * @param value
127      * allowed object is
128      * byte[]
129      */

130     public void setP(byte[] value) {
131         this.p = ((byte[]) value);
132     }
133
134     /**
135      * Gets the value of the q property.
136      *
137      * @return
138      * possible object is
139      * byte[]
140      */

141     public byte[] getQ() {
142         return q;
143     }
144
145     /**
146      * Sets the value of the q property.
147      *
148      * @param value
149      * allowed object is
150      * byte[]
151      */

152     public void setQ(byte[] value) {
153         this.q = ((byte[]) value);
154     }
155
156     /**
157      * Gets the value of the dp property.
158      *
159      * @return
160      * possible object is
161      * byte[]
162      */

163     public byte[] getDP() {
164         return dp;
165     }
166
167     /**
168      * Sets the value of the dp property.
169      *
170      * @param value
171      * allowed object is
172      * byte[]
173      */

174     public void setDP(byte[] value) {
175         this.dp = ((byte[]) value);
176     }
177
178     /**
179      * Gets the value of the dq property.
180      *
181      * @return
182      * possible object is
183      * byte[]
184      */

185     public byte[] getDQ() {
186         return dq;
187     }
188
189     /**
190      * Sets the value of the dq property.
191      *
192      * @param value
193      * allowed object is
194      * byte[]
195      */

196     public void setDQ(byte[] value) {
197         this.dq = ((byte[]) value);
198     }
199
200     /**
201      * Gets the value of the inverseQ property.
202      *
203      * @return
204      * possible object is
205      * byte[]
206      */

207     public byte[] getInverseQ() {
208         return inverseQ;
209     }
210
211     /**
212      * Sets the value of the inverseQ property.
213      *
214      * @param value
215      * allowed object is
216      * byte[]
217      */

218     public void setInverseQ(byte[] value) {
219         this.inverseQ = ((byte[]) value);
220     }
221
222     /**
223      * Gets the value of the d property.
224      *
225      * @return
226      * possible object is
227      * byte[]
228      */

229     public byte[] getD() {
230         return d;
231     }
232
233     /**
234      * Sets the value of the d property.
235      *
236      * @param value
237      * allowed object is
238      * byte[]
239      */

240     public void setD(byte[] value) {
241         this.d = ((byte[]) value);
242     }
243
244 }
245
Popular Tags