1 2 package org.w3._2001._04.xmlenc_; 3 4 import java.math.BigInteger ; 5 import java.util.ArrayList ; 6 import java.util.List ; 7 import javax.xml.bind.JAXBElement; 8 import javax.xml.bind.annotation.XmlAccessType; 9 import javax.xml.bind.annotation.XmlAccessorType; 10 import javax.xml.bind.annotation.XmlAnyElement; 11 import javax.xml.bind.annotation.XmlAttribute; 12 import javax.xml.bind.annotation.XmlElementRef; 13 import javax.xml.bind.annotation.XmlElementRefs; 14 import javax.xml.bind.annotation.XmlMixed; 15 import javax.xml.bind.annotation.XmlSchemaType; 16 import javax.xml.bind.annotation.XmlType; 17 18 19 41 @XmlAccessorType(XmlAccessType.FIELD) 42 @XmlType(name = "EncryptionMethodType", propOrder = { 43 "content" 44 }) 45 public class EncryptionMethodType { 46 47 @XmlElementRefs({ 48 @XmlElementRef(name = "KeySize", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class), 49 @XmlElementRef(name = "OAEPparams", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class) 50 }) 51 @XmlMixed 52 @XmlAnyElement(lax = true) 53 protected List <Object > content; 54 @XmlAttribute(name = "Algorithm", required = true) 55 @XmlSchemaType(name = "anyURI") 56 protected String algorithm; 57 58 83 public List <Object > getContent() { 84 if (content == null) { 85 content = new ArrayList <Object >(); 86 } 87 return this.content; 88 } 89 90 98 public String getAlgorithm() { 99 return algorithm; 100 } 101 102 110 public void setAlgorithm(String value) { 111 this.algorithm = value; 112 } 113 114 } 115 | Popular Tags |