| /** |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 |
| // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| // Any modifications to this file will be lost upon recompilation of the source schema. |
| // Generated on: 2014.03.27 at 03:31:22 PM GMT |
| // |
| |
| |
| package org.apache.wss4j.binding.wss11; |
| |
| import jakarta.xml.bind.annotation.XmlAccessType; |
| import jakarta.xml.bind.annotation.XmlAccessorType; |
| import jakarta.xml.bind.annotation.XmlAttribute; |
| import jakarta.xml.bind.annotation.XmlElement; |
| import jakarta.xml.bind.annotation.XmlID; |
| import jakarta.xml.bind.annotation.XmlSchemaType; |
| import jakarta.xml.bind.annotation.XmlType; |
| import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; |
| import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
| import org.apache.xml.security.binding.xmlenc.EncryptedDataType; |
| |
| |
| /** |
| * <p>Java class for EncryptedHeaderType complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="EncryptedHeaderType"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/> |
| * </sequence> |
| * <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/> |
| * <attribute ref="{http://schemas.xmlsoap.org/soap/envelope/}mustUnderstand"/> |
| * <attribute ref="{http://schemas.xmlsoap.org/soap/envelope/}actor"/> |
| * <attribute ref="{http://www.w3.org/2003/05/soap-envelope}mustUnderstand"/> |
| * <attribute ref="{http://www.w3.org/2003/05/soap-envelope}role"/> |
| * <attribute ref="{http://www.w3.org/2003/05/soap-envelope}relay"/> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "EncryptedHeaderType", propOrder = { |
| "encryptedData" |
| }) |
| public class EncryptedHeaderType { |
| |
| @XmlElement(name = "EncryptedData", namespace = "http://www.w3.org/2001/04/xmlenc#", required = true) |
| private EncryptedDataType encryptedData; |
| @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") |
| @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
| @XmlID |
| @XmlSchemaType(name = "ID") |
| private String id; |
| @XmlAttribute(name = "mustUnderstand", namespace = "http://schemas.xmlsoap.org/soap/envelope/") |
| private Boolean mustUnderstand11; |
| @XmlAttribute(name = "actor", namespace = "http://schemas.xmlsoap.org/soap/envelope/") |
| @XmlSchemaType(name = "anyURI") |
| private String actor; |
| @XmlAttribute(name = "mustUnderstand", namespace = "http://www.w3.org/2003/05/soap-envelope") |
| private Boolean mustUnderstand12; |
| @XmlAttribute(name = "role", namespace = "http://www.w3.org/2003/05/soap-envelope") |
| @XmlSchemaType(name = "anyURI") |
| private String role; |
| @XmlAttribute(name = "relay", namespace = "http://www.w3.org/2003/05/soap-envelope") |
| private Boolean relay; |
| |
| /** |
| * Gets the value of the encryptedData property. |
| * |
| * @return |
| * possible object is |
| * {@link EncryptedDataType } |
| * |
| */ |
| public EncryptedDataType getEncryptedData() { |
| return encryptedData; |
| } |
| |
| /** |
| * Sets the value of the encryptedData property. |
| * |
| * @param value |
| * allowed object is |
| * {@link EncryptedDataType } |
| * |
| */ |
| public void setEncryptedData(EncryptedDataType value) { |
| this.encryptedData = value; |
| } |
| |
| /** |
| * Gets the value of the id property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getId() { |
| return id; |
| } |
| |
| /** |
| * Sets the value of the id property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setId(String value) { |
| this.id = value; |
| } |
| |
| /** |
| * Gets the value of the mustUnderstand11 property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public Boolean isMustUnderstand11() { |
| return mustUnderstand11; |
| } |
| |
| /** |
| * Sets the value of the mustUnderstand11 property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setMustUnderstand11(Boolean value) { |
| this.mustUnderstand11 = value; |
| } |
| |
| /** |
| * Gets the value of the actor property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getActor() { |
| return actor; |
| } |
| |
| /** |
| * Sets the value of the actor property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setActor(String value) { |
| this.actor = value; |
| } |
| |
| /** |
| * Gets the value of the mustUnderstand12 property. |
| * |
| * @return |
| * possible object is |
| * {@link Boolean } |
| * |
| */ |
| public boolean isMustUnderstand12() { |
| if (mustUnderstand12 == null) { |
| return false; |
| } else { |
| return mustUnderstand12; |
| } |
| } |
| |
| /** |
| * Sets the value of the mustUnderstand12 property. |
| * |
| * @param value |
| * allowed object is |
| * {@link Boolean } |
| * |
| */ |
| public void setMustUnderstand12(Boolean value) { |
| this.mustUnderstand12 = value; |
| } |
| |
| /** |
| * Gets the value of the role property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getRole() { |
| return role; |
| } |
| |
| /** |
| * Sets the value of the role property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setRole(String value) { |
| this.role = value; |
| } |
| |
| /** |
| * Gets the value of the relay property. |
| * |
| * @return |
| * possible object is |
| * {@link Boolean } |
| * |
| */ |
| public boolean isRelay() { |
| if (relay == null) { |
| return false; |
| } else { |
| return relay; |
| } |
| } |
| |
| /** |
| * Sets the value of the relay property. |
| * |
| * @param value |
| * allowed object is |
| * {@link Boolean } |
| * |
| */ |
| public void setRelay(Boolean value) { |
| this.relay = value; |
| } |
| |
| } |