1 8 9 package com.sun.xml.ws.security.secconv.impl.bindings; 10 11 import java.math.BigInteger ; 12 import javax.xml.bind.annotation.XmlAccessType; 13 import javax.xml.bind.annotation.XmlAccessorType; 14 import javax.xml.bind.annotation.XmlAttribute; 15 import javax.xml.bind.annotation.XmlElement; 16 import javax.xml.bind.annotation.XmlID; 17 import javax.xml.bind.annotation.XmlType; 18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 20 import com.sun.xml.ws.security.impl.bindings.SecurityTokenReferenceType; 21 import com.sun.xml.ws.security.secconv.impl.bindings.DerivedKeyTokenType; 22 import com.sun.xml.ws.security.secconv.impl.bindings.PropertiesType; 23 24 25 56 @XmlAccessorType(XmlAccessType.FIELD) 57 @XmlType(name = "DerivedKeyTokenType", propOrder = { 58 "securityTokenReference", 59 "properties", 60 "generation", 61 "offset", 62 "length", 63 "label", 64 "nonce" 65 }) 66 public class DerivedKeyTokenType { 67 68 @XmlElement(name = "SecurityTokenReference", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd") 69 protected SecurityTokenReferenceType securityTokenReference; 70 @XmlElement(name = "Properties", namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc") 71 protected PropertiesType properties; 72 @XmlElement(name = "Generation", namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc") 73 protected BigInteger generation; 74 @XmlElement(name = "Offset", namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc") 75 protected BigInteger offset; 76 @XmlElement(name = "Length", namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc") 77 protected BigInteger length; 78 @XmlElement(name = "Label", namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc") 79 protected String label; 80 @XmlElement(name = "Nonce", namespace = "http://schemas.xmlsoap.org/ws/2005/02/sc") 81 protected byte[] nonce; 82 @XmlAttribute(name = "Algorithm") 83 protected String algorithm; 84 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") 85 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 86 @XmlID 87 protected String id; 88 89 97 public SecurityTokenReferenceType getSecurityTokenReference() { 98 return securityTokenReference; 99 } 100 101 109 public void setSecurityTokenReference(SecurityTokenReferenceType value) { 110 this.securityTokenReference = value; 111 } 112 113 121 public PropertiesType getProperties() { 122 return properties; 123 } 124 125 133 public void setProperties(PropertiesType value) { 134 this.properties = value; 135 } 136 137 145 public BigInteger getGeneration() { 146 return generation; 147 } 148 149 157 public void setGeneration(BigInteger value) { 158 this.generation = value; 159 } 160 161 169 public BigInteger getOffset() { 170 return offset; 171 } 172 173 181 public void setOffset(BigInteger value) { 182 this.offset = value; 183 } 184 185 193 public BigInteger getLength() { 194 return length; 195 } 196 197 205 public void setLength(BigInteger value) { 206 this.length = value; 207 } 208 209 217 public String getLabel() { 218 return label; 219 } 220 221 229 public void setLabel(String value) { 230 this.label = value; 231 } 232 233 240 public byte[] getNonce() { 241 return nonce; 242 } 243 244 251 public void setNonce(byte[] value) { 252 this.nonce = ((byte[]) value); 253 } 254 255 263 public String getAlgorithm() { 264 return algorithm; 265 } 266 267 275 public void setAlgorithm(String value) { 276 this.algorithm = value; 277 } 278 279 287 public String getId() { 288 return id; 289 } 290 291 299 public void setId(String value) { 300 this.id = value; 301 } 302 303 } 304 | Popular Tags |