001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v@@BUILD_VERSION@@
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.08.10 at 08:10:03 PM IST
006: //
007:
008: package com.sun.xml.ws.security.secconv.impl.wssx.bindings;
009:
010: import java.math.BigInteger;
011: import javax.xml.bind.annotation.XmlAccessType;
012: import javax.xml.bind.annotation.XmlAccessorType;
013: import javax.xml.bind.annotation.XmlAttribute;
014: import javax.xml.bind.annotation.XmlElement;
015: import javax.xml.bind.annotation.XmlID;
016: import javax.xml.bind.annotation.XmlType;
017: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019: import com.sun.xml.ws.security.secext10.SecurityTokenReferenceType;
020:
021: /**
022: * <p>Java class for DerivedKeyTokenType complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType name="DerivedKeyTokenType">
028: * <complexContent>
029: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030: * <sequence>
031: * <element ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference" minOccurs="0"/>
032: * <element name="Properties" type="{http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512}PropertiesType" minOccurs="0"/>
033: * <sequence minOccurs="0">
034: * <choice>
035: * <element name="Generation" type="{http://www.w3.org/2001/XMLSchema}unsignedLong"/>
036: * <element name="Offset" type="{http://www.w3.org/2001/XMLSchema}unsignedLong"/>
037: * </choice>
038: * <element name="Length" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0"/>
039: * </sequence>
040: * <element ref="{http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512}Label" minOccurs="0"/>
041: * <element ref="{http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512}Nonce" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="Algorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
044: * <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
045: * </restriction>
046: * </complexContent>
047: * </complexType>
048: * </pre>
049: *
050: *
051: */
052: @XmlAccessorType(XmlAccessType.FIELD)
053: @XmlType(name="DerivedKeyTokenType",propOrder={"securityTokenReference","properties","generation","offset","length","label","nonce"})
054: public class DerivedKeyTokenType {
055:
056: @XmlElement(name="SecurityTokenReference",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd")
057: protected SecurityTokenReferenceType securityTokenReference;
058: @XmlElement(name="Properties",namespace="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512")
059: protected PropertiesType properties;
060: @XmlElement(name="Generation",namespace="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512")
061: protected BigInteger generation;
062: @XmlElement(name="Offset",namespace="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512")
063: protected BigInteger offset;
064: @XmlElement(name="Length",namespace="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512")
065: protected BigInteger length;
066: @XmlElement(name="Label",namespace="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512")
067: protected String label;
068: @XmlElement(name="Nonce",namespace="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512")
069: protected byte[] nonce;
070: @XmlAttribute(name="Algorithm")
071: protected String algorithm;
072: @XmlAttribute(name="Id",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
073: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
074: @XmlID
075: protected String id;
076:
077: /**
078: * Gets the value of the securityTokenReference property.
079: *
080: * @return
081: * possible object is
082: * {@link SecurityTokenReferenceType }
083: *
084: */
085: public SecurityTokenReferenceType getSecurityTokenReference() {
086: return securityTokenReference;
087: }
088:
089: /**
090: * Sets the value of the securityTokenReference property.
091: *
092: * @param value
093: * allowed object is
094: * {@link SecurityTokenReferenceType }
095: *
096: */
097: public void setSecurityTokenReference(
098: SecurityTokenReferenceType value) {
099: this .securityTokenReference = value;
100: }
101:
102: /**
103: * Gets the value of the properties property.
104: *
105: * @return
106: * possible object is
107: * {@link PropertiesType }
108: *
109: */
110: public PropertiesType getProperties() {
111: return properties;
112: }
113:
114: /**
115: * Sets the value of the properties property.
116: *
117: * @param value
118: * allowed object is
119: * {@link PropertiesType }
120: *
121: */
122: public void setProperties(PropertiesType value) {
123: this .properties = value;
124: }
125:
126: /**
127: * Gets the value of the generation property.
128: *
129: * @return
130: * possible object is
131: * {@link BigInteger }
132: *
133: */
134: public BigInteger getGeneration() {
135: return generation;
136: }
137:
138: /**
139: * Sets the value of the generation property.
140: *
141: * @param value
142: * allowed object is
143: * {@link BigInteger }
144: *
145: */
146: public void setGeneration(BigInteger value) {
147: this .generation = value;
148: }
149:
150: /**
151: * Gets the value of the offset property.
152: *
153: * @return
154: * possible object is
155: * {@link BigInteger }
156: *
157: */
158: public BigInteger getOffset() {
159: return offset;
160: }
161:
162: /**
163: * Sets the value of the offset property.
164: *
165: * @param value
166: * allowed object is
167: * {@link BigInteger }
168: *
169: */
170: public void setOffset(BigInteger value) {
171: this .offset = value;
172: }
173:
174: /**
175: * Gets the value of the length property.
176: *
177: * @return
178: * possible object is
179: * {@link BigInteger }
180: *
181: */
182: public BigInteger getLength() {
183: return length;
184: }
185:
186: /**
187: * Sets the value of the length property.
188: *
189: * @param value
190: * allowed object is
191: * {@link BigInteger }
192: *
193: */
194: public void setLength(BigInteger value) {
195: this .length = value;
196: }
197:
198: /**
199: * Gets the value of the label property.
200: *
201: * @return
202: * possible object is
203: * {@link String }
204: *
205: */
206: public String getLabel() {
207: return label;
208: }
209:
210: /**
211: * Sets the value of the label property.
212: *
213: * @param value
214: * allowed object is
215: * {@link String }
216: *
217: */
218: public void setLabel(String value) {
219: this .label = value;
220: }
221:
222: /**
223: * Gets the value of the nonce property.
224: *
225: * @return
226: * possible object is
227: * byte[]
228: */
229: public byte[] getNonce() {
230: return nonce;
231: }
232:
233: /**
234: * Sets the value of the nonce property.
235: *
236: * @param value
237: * allowed object is
238: * byte[]
239: */
240: public void setNonce(byte[] value) {
241: this .nonce = ((byte[]) value);
242: }
243:
244: /**
245: * Gets the value of the algorithm property.
246: *
247: * @return
248: * possible object is
249: * {@link String }
250: *
251: */
252: public String getAlgorithm() {
253: return algorithm;
254: }
255:
256: /**
257: * Sets the value of the algorithm property.
258: *
259: * @param value
260: * allowed object is
261: * {@link String }
262: *
263: */
264: public void setAlgorithm(String value) {
265: this .algorithm = value;
266: }
267:
268: /**
269: * Gets the value of the id property.
270: *
271: * @return
272: * possible object is
273: * {@link String }
274: *
275: */
276: public String getId() {
277: return id;
278: }
279:
280: /**
281: * Sets the value of the id property.
282: *
283: * @param value
284: * allowed object is
285: * {@link String }
286: *
287: */
288: public void setId(String value) {
289: this.id = value;
290: }
291:
292: }
|