001: package org.w3._2002._03.xkms_;
002:
003: import javax.xml.bind.annotation.XmlAccessType;
004: import javax.xml.bind.annotation.XmlAccessorType;
005: import javax.xml.bind.annotation.XmlElement;
006: import javax.xml.bind.annotation.XmlRootElement;
007: import javax.xml.bind.annotation.XmlType;
008:
009: /**
010: * <p>Java class for RSAKeyPairType complex type.
011: *
012: * <p>The following schema fragment specifies the expected content contained within this class.
013: *
014: * <pre>
015: * <complexType name="RSAKeyPairType">
016: * <complexContent>
017: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
018: * <sequence>
019: * <element ref="{http://www.w3.org/2002/03/xkms#}Modulus"/>
020: * <element ref="{http://www.w3.org/2002/03/xkms#}Exponent"/>
021: * <element ref="{http://www.w3.org/2002/03/xkms#}P"/>
022: * <element ref="{http://www.w3.org/2002/03/xkms#}Q"/>
023: * <element ref="{http://www.w3.org/2002/03/xkms#}DP"/>
024: * <element ref="{http://www.w3.org/2002/03/xkms#}DQ"/>
025: * <element ref="{http://www.w3.org/2002/03/xkms#}InverseQ"/>
026: * <element ref="{http://www.w3.org/2002/03/xkms#}D"/>
027: * </sequence>
028: * </restriction>
029: * </complexContent>
030: * </complexType>
031: * </pre>
032: *
033: *
034: */
035: @XmlRootElement
036: @XmlAccessorType(XmlAccessType.FIELD)
037: @XmlType(name="RSAKeyPairType",propOrder={"modulus","exponent","p","q","dp","dq","inverseQ","d"})
038: public class RSAKeyPairType {
039:
040: @XmlElement(name="Modulus",required=true)
041: protected byte[] modulus;
042: @XmlElement(name="Exponent",required=true)
043: protected byte[] exponent;
044: @XmlElement(name="P",required=true)
045: protected byte[] p;
046: @XmlElement(name="Q",required=true)
047: protected byte[] q;
048: @XmlElement(name="DP",required=true)
049: protected byte[] dp;
050: @XmlElement(name="DQ",required=true)
051: protected byte[] dq;
052: @XmlElement(name="InverseQ",required=true)
053: protected byte[] inverseQ;
054: @XmlElement(name="D",required=true)
055: protected byte[] d;
056:
057: /**
058: * Gets the value of the modulus property.
059: *
060: * @return
061: * possible object is
062: * byte[]
063: */
064: public byte[] getModulus() {
065: return modulus;
066: }
067:
068: /**
069: * Sets the value of the modulus property.
070: *
071: * @param value
072: * allowed object is
073: * byte[]
074: */
075: public void setModulus(byte[] value) {
076: this .modulus = ((byte[]) value);
077: }
078:
079: /**
080: * Gets the value of the exponent property.
081: *
082: * @return
083: * possible object is
084: * byte[]
085: */
086: public byte[] getExponent() {
087: return exponent;
088: }
089:
090: /**
091: * Sets the value of the exponent property.
092: *
093: * @param value
094: * allowed object is
095: * byte[]
096: */
097: public void setExponent(byte[] value) {
098: this .exponent = ((byte[]) value);
099: }
100:
101: /**
102: * Gets the value of the p property.
103: *
104: * @return
105: * possible object is
106: * byte[]
107: */
108: public byte[] getP() {
109: return p;
110: }
111:
112: /**
113: * Sets the value of the p property.
114: *
115: * @param value
116: * allowed object is
117: * byte[]
118: */
119: public void setP(byte[] value) {
120: this .p = ((byte[]) value);
121: }
122:
123: /**
124: * Gets the value of the q property.
125: *
126: * @return
127: * possible object is
128: * byte[]
129: */
130: public byte[] getQ() {
131: return q;
132: }
133:
134: /**
135: * Sets the value of the q property.
136: *
137: * @param value
138: * allowed object is
139: * byte[]
140: */
141: public void setQ(byte[] value) {
142: this .q = ((byte[]) value);
143: }
144:
145: /**
146: * Gets the value of the dp property.
147: *
148: * @return
149: * possible object is
150: * byte[]
151: */
152: public byte[] getDP() {
153: return dp;
154: }
155:
156: /**
157: * Sets the value of the dp property.
158: *
159: * @param value
160: * allowed object is
161: * byte[]
162: */
163: public void setDP(byte[] value) {
164: this .dp = ((byte[]) value);
165: }
166:
167: /**
168: * Gets the value of the dq property.
169: *
170: * @return
171: * possible object is
172: * byte[]
173: */
174: public byte[] getDQ() {
175: return dq;
176: }
177:
178: /**
179: * Sets the value of the dq property.
180: *
181: * @param value
182: * allowed object is
183: * byte[]
184: */
185: public void setDQ(byte[] value) {
186: this .dq = ((byte[]) value);
187: }
188:
189: /**
190: * Gets the value of the inverseQ property.
191: *
192: * @return
193: * possible object is
194: * byte[]
195: */
196: public byte[] getInverseQ() {
197: return inverseQ;
198: }
199:
200: /**
201: * Sets the value of the inverseQ property.
202: *
203: * @param value
204: * allowed object is
205: * byte[]
206: */
207: public void setInverseQ(byte[] value) {
208: this .inverseQ = ((byte[]) value);
209: }
210:
211: /**
212: * Gets the value of the d property.
213: *
214: * @return
215: * possible object is
216: * byte[]
217: */
218: public byte[] getD() {
219: return d;
220: }
221:
222: /**
223: * Sets the value of the d property.
224: *
225: * @param value
226: * allowed object is
227: * byte[]
228: */
229: public void setD(byte[] value) {
230: this .d = ((byte[]) value);
231: }
232:
233: }
|