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 RevokeRequestType complex type.
011: *
012: * <p>The following schema fragment specifies the expected content contained within this class.
013: *
014: * <pre>
015: * <complexType name="RevokeRequestType">
016: * <complexContent>
017: * <extension base="{http://www.w3.org/2002/03/xkms#}RequestAbstractType">
018: * <sequence>
019: * <element ref="{http://www.w3.org/2002/03/xkms#}RevokeKeyBinding"/>
020: * <choice>
021: * <element ref="{http://www.w3.org/2002/03/xkms#}Authentication"/>
022: * <element ref="{http://www.w3.org/2002/03/xkms#}RevocationCode"/>
023: * </choice>
024: * </sequence>
025: * </extension>
026: * </complexContent>
027: * </complexType>
028: * </pre>
029: *
030: *
031: */
032: @XmlRootElement
033: @XmlAccessorType(XmlAccessType.FIELD)
034: @XmlType(name="RevokeRequestType",propOrder={"revokeKeyBinding","authentication","revocationCode"})
035: public class RevokeRequestType extends RequestAbstractType {
036:
037: @XmlElement(name="RevokeKeyBinding",required=true)
038: protected KeyBindingType revokeKeyBinding;
039: @XmlElement(name="Authentication")
040: protected AuthenticationType authentication;
041: @XmlElement(name="RevocationCode")
042: protected byte[] revocationCode;
043:
044: /**
045: * Gets the value of the revokeKeyBinding property.
046: *
047: * @return
048: * possible object is
049: * {@link KeyBindingType }
050: *
051: */
052: public KeyBindingType getRevokeKeyBinding() {
053: return revokeKeyBinding;
054: }
055:
056: /**
057: * Sets the value of the revokeKeyBinding property.
058: *
059: * @param value
060: * allowed object is
061: * {@link KeyBindingType }
062: *
063: */
064: public void setRevokeKeyBinding(KeyBindingType value) {
065: this .revokeKeyBinding = value;
066: }
067:
068: /**
069: * Gets the value of the authentication property.
070: *
071: * @return
072: * possible object is
073: * {@link AuthenticationType }
074: *
075: */
076: public AuthenticationType getAuthentication() {
077: return authentication;
078: }
079:
080: /**
081: * Sets the value of the authentication property.
082: *
083: * @param value
084: * allowed object is
085: * {@link AuthenticationType }
086: *
087: */
088: public void setAuthentication(AuthenticationType value) {
089: this .authentication = value;
090: }
091:
092: /**
093: * Gets the value of the revocationCode property.
094: *
095: * @return
096: * possible object is
097: * byte[]
098: */
099: public byte[] getRevocationCode() {
100: return revocationCode;
101: }
102:
103: /**
104: * Sets the value of the revocationCode property.
105: *
106: * @param value
107: * allowed object is
108: * byte[]
109: */
110: public void setRevocationCode(byte[] value) {
111: this .revocationCode = ((byte[]) value);
112: }
113:
114: }
|