KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2000 > _09 > xmldsig_ > RSAKeyValueType


1
2 package org.w3._2000._09.xmldsig_;
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 RSAKeyValueType complex type.
13  *
14  * <p>The following schema fragment specifies the expected content contained within this class.
15  *
16  * <pre>
17  * &lt;complexType name="RSAKeyValueType">
18  * &lt;complexContent>
19  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20  * &lt;sequence>
21  * &lt;element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
22  * &lt;element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/>
23  * &lt;/sequence>
24  * &lt;/restriction>
25  * &lt;/complexContent>
26  * &lt;/complexType>
27  * </pre>
28  *
29  *
30  */

31 @XmlRootElement
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "RSAKeyValueType", propOrder = {
34     "modulus",
35     "exponent"
36 })
37 public class RSAKeyValueType {
38
39     @XmlElement(name = "Modulus", required = true)
40     protected byte[] modulus;
41     @XmlElement(name = "Exponent", required = true)
42     protected byte[] exponent;
43
44     /**
45      * Gets the value of the modulus property.
46      *
47      * @return
48      * possible object is
49      * byte[]
50      */

51     public byte[] getModulus() {
52         return modulus;
53     }
54
55     /**
56      * Sets the value of the modulus property.
57      *
58      * @param value
59      * allowed object is
60      * byte[]
61      */

62     public void setModulus(byte[] value) {
63         this.modulus = ((byte[]) value);
64     }
65
66     /**
67      * Gets the value of the exponent property.
68      *
69      * @return
70      * possible object is
71      * byte[]
72      */

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

84     public void setExponent(byte[] value) {
85         this.exponent = ((byte[]) value);
86     }
87
88 }
89
Popular Tags