diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java | 270 |
1 files changed, 270 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java new file mode 100644 index 0000000..4fc8bf8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java @@ -0,0 +1,270 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.w3c_xmldsig.KeyInfoType; + + +/** + * <p>Java-Klasse für EncryptedType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptedType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="EncryptionMethod" type="{http://www.w3.org/2001/04/xmlenc#}EncryptionMethodType" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}CipherData"/> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptionProperties" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptedType", propOrder = { + "encryptionMethod", + "keyInfo", + "cipherData", + "encryptionProperties" +}) +@XmlSeeAlso({ + EncryptedDataType.class, + EncryptedKeyType.class +}) +public abstract class EncryptedType { + + @XmlElement(name = "EncryptionMethod") + protected EncryptionMethodType encryptionMethod; + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyInfoType keyInfo; + @XmlElement(name = "CipherData", required = true) + protected CipherDataType cipherData; + @XmlElement(name = "EncryptionProperties") + protected EncryptionPropertiesType encryptionProperties; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Ruft den Wert der encryptionMethod-Eigenschaft ab. + * + * @return + * possible object is + * {@link EncryptionMethodType } + * + */ + public EncryptionMethodType getEncryptionMethod() { + return encryptionMethod; + } + + /** + * Legt den Wert der encryptionMethod-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link EncryptionMethodType } + * + */ + public void setEncryptionMethod(EncryptionMethodType value) { + this.encryptionMethod = value; + } + + /** + * Ruft den Wert der keyInfo-Eigenschaft ab. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Legt den Wert der keyInfo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Ruft den Wert der cipherData-Eigenschaft ab. + * + * @return + * possible object is + * {@link CipherDataType } + * + */ + public CipherDataType getCipherData() { + return cipherData; + } + + /** + * Legt den Wert der cipherData-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CipherDataType } + * + */ + public void setCipherData(CipherDataType value) { + this.cipherData = value; + } + + /** + * Ruft den Wert der encryptionProperties-Eigenschaft ab. + * + * @return + * possible object is + * {@link EncryptionPropertiesType } + * + */ + public EncryptionPropertiesType getEncryptionProperties() { + return encryptionProperties; + } + + /** + * Legt den Wert der encryptionProperties-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link EncryptionPropertiesType } + * + */ + public void setEncryptionProperties(EncryptionPropertiesType value) { + this.encryptionProperties = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Ruft den Wert der mimeType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Legt den Wert der mimeType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Ruft den Wert der encoding-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Legt den Wert der encoding-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} |