1 2 package org.w3._2001._04.xmlenc_; 3 4 import javax.xml.bind.annotation.XmlAccessType; 5 import javax.xml.bind.annotation.XmlAccessorType; 6 import javax.xml.bind.annotation.XmlAttribute; 7 import javax.xml.bind.annotation.XmlElement; 8 import javax.xml.bind.annotation.XmlID; 9 import javax.xml.bind.annotation.XmlSchemaType; 10 import javax.xml.bind.annotation.XmlType; 11 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 13 14 import org.w3._2000._09.xmldsig_.KeyInfoType; 15 16 17 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "EncryptedType", propOrder = { 45 "encryptionMethod", 46 "keyInfo", 47 "cipherData", 48 "encryptionProperties" 49 }) 50 54 public abstract class EncryptedType { 55 56 @XmlElement(name = "EncryptionMethod") 57 protected EncryptionMethodType encryptionMethod; 58 @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") 59 protected KeyInfoType keyInfo; 60 @XmlElement(name = "CipherData", required = true) 61 protected CipherDataType cipherData; 62 @XmlElement(name = "EncryptionProperties") 63 protected EncryptionPropertiesType encryptionProperties; 64 @XmlAttribute(name = "Id") 65 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 66 @XmlID 67 @XmlSchemaType(name = "ID") 68 protected String id; 69 @XmlAttribute(name = "Type") 70 @XmlSchemaType(name = "anyURI") 71 protected String type; 72 @XmlAttribute(name = "MimeType") 73 protected String mimeType; 74 @XmlAttribute(name = "Encoding") 75 @XmlSchemaType(name = "anyURI") 76 protected String encoding; 77 78 86 public EncryptionMethodType getEncryptionMethod() { 87 return encryptionMethod; 88 } 89 90 98 public void setEncryptionMethod(EncryptionMethodType value) { 99 this.encryptionMethod = value; 100 } 101 102 110 public KeyInfoType getKeyInfo() { 111 return keyInfo; 112 } 113 114 122 public void setKeyInfo(KeyInfoType value) { 123 this.keyInfo = value; 124 } 125 126 134 public CipherDataType getCipherData() { 135 return cipherData; 136 } 137 138 146 public void setCipherData(CipherDataType value) { 147 this.cipherData = value; 148 } 149 150 158 public EncryptionPropertiesType getEncryptionProperties() { 159 return encryptionProperties; 160 } 161 162 170 public void setEncryptionProperties(EncryptionPropertiesType value) { 171 this.encryptionProperties = value; 172 } 173 174 182 public String getId() { 183 return id; 184 } 185 186 194 public void setId(String value) { 195 this.id = value; 196 } 197 198 206 public String getType() { 207 return type; 208 } 209 210 218 public void setType(String value) { 219 this.type = value; 220 } 221 222 230 public String getMimeType() { 231 return mimeType; 232 } 233 234 242 public void setMimeType(String value) { 243 this.mimeType = value; 244 } 245 246 254 public String getEncoding() { 255 return encoding; 256 } 257 258 266 public void setEncoding(String value) { 267 this.encoding = value; 268 } 269 270 } 271 | Popular Tags |