KickJava   Java API By Example, From Geeks To Geeks.

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


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 RevokeRequestType complex type.
13  *
14  * <p>The following schema fragment specifies the expected content contained within this class.
15  *
16  * <pre>
17  * &lt;complexType name="RevokeRequestType">
18  * &lt;complexContent>
19  * &lt;extension base="{http://www.w3.org/2002/03/xkms#}RequestAbstractType">
20  * &lt;sequence>
21  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RevokeKeyBinding"/>
22  * &lt;choice>
23  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}Authentication"/>
24  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RevocationCode"/>
25  * &lt;/choice>
26  * &lt;/sequence>
27  * &lt;/extension>
28  * &lt;/complexContent>
29  * &lt;/complexType>
30  * </pre>
31  *
32  *
33  */

34 @XmlRootElement
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "RevokeRequestType", propOrder = {
37     "revokeKeyBinding",
38     "authentication",
39     "revocationCode"
40 })
41 public class RevokeRequestType
42     extends RequestAbstractType
43 {
44
45     @XmlElement(name = "RevokeKeyBinding", required = true)
46     protected KeyBindingType revokeKeyBinding;
47     @XmlElement(name = "Authentication")
48     protected AuthenticationType authentication;
49     @XmlElement(name = "RevocationCode")
50     protected byte[] revocationCode;
51
52     /**
53      * Gets the value of the revokeKeyBinding property.
54      *
55      * @return
56      * possible object is
57      * {@link KeyBindingType }
58      *
59      */

60     public KeyBindingType getRevokeKeyBinding() {
61         return revokeKeyBinding;
62     }
63
64     /**
65      * Sets the value of the revokeKeyBinding property.
66      *
67      * @param value
68      * allowed object is
69      * {@link KeyBindingType }
70      *
71      */

72     public void setRevokeKeyBinding(KeyBindingType value) {
73         this.revokeKeyBinding = value;
74     }
75
76     /**
77      * Gets the value of the authentication property.
78      *
79      * @return
80      * possible object is
81      * {@link AuthenticationType }
82      *
83      */

84     public AuthenticationType getAuthentication() {
85         return authentication;
86     }
87
88     /**
89      * Sets the value of the authentication property.
90      *
91      * @param value
92      * allowed object is
93      * {@link AuthenticationType }
94      *
95      */

96     public void setAuthentication(AuthenticationType value) {
97         this.authentication = value;
98     }
99
100     /**
101      * Gets the value of the revocationCode property.
102      *
103      * @return
104      * possible object is
105      * byte[]
106      */

107     public byte[] getRevocationCode() {
108         return revocationCode;
109     }
110
111     /**
112      * Sets the value of the revocationCode property.
113      *
114      * @param value
115      * allowed object is
116      * byte[]
117      */

118     public void setRevocationCode(byte[] value) {
119         this.revocationCode = ((byte[]) value);
120     }
121
122 }
123
Popular Tags