View Javadoc
1   /**
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements. See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership. The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License. You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied. See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  //
20  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
21  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
22  // Any modifications to this file will be lost upon recompilation of the source schema.
23  // Generated on: 2014.03.27 at 03:31:22 PM GMT
24  //
25  
26  
27  package org.apache.wss4j.binding.wss11;
28  
29  import jakarta.xml.bind.annotation.XmlAccessType;
30  import jakarta.xml.bind.annotation.XmlAccessorType;
31  import jakarta.xml.bind.annotation.XmlAttribute;
32  import jakarta.xml.bind.annotation.XmlID;
33  import jakarta.xml.bind.annotation.XmlSchemaType;
34  import jakarta.xml.bind.annotation.XmlType;
35  import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
36  import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
37  
38  
39  /**
40   * <p>Java class for SignatureConfirmationType complex type.
41   *
42   * <p>The following schema fragment specifies the expected content contained within this class.
43   *
44   * <pre>
45   * &lt;complexType name="SignatureConfirmationType">
46   *   &lt;complexContent>
47   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
48   *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
49   *       &lt;attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
50   *     &lt;/restriction>
51   *   &lt;/complexContent>
52   * &lt;/complexType>
53   * </pre>
54   *
55   *
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "SignatureConfirmationType")
59  public class SignatureConfirmationType {
60  
61      @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
62      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
63      @XmlID
64      @XmlSchemaType(name = "ID")
65      private String id;
66      @XmlAttribute(name = "Value", required = true)
67      private byte[] value;
68  
69      /**
70       * Gets the value of the id property.
71       *
72       * @return
73       *     possible object is
74       *     {@link String }
75       *
76       */
77      public String getId() {
78          return id;
79      }
80  
81      /**
82       * Sets the value of the id property.
83       *
84       * @param value
85       *     allowed object is
86       *     {@link String }
87       *
88       */
89      public void setId(String value) {
90          this.id = value;
91      }
92  
93      /**
94       * Gets the value of the value property.
95       *
96       * @return
97       *     possible object is
98       *     byte[]
99       */
100     public byte[] getValue() {
101         return value;
102     }
103 
104     /**
105      * Sets the value of the value property.
106      *
107      * @param value
108      *     allowed object is
109      *     byte[]
110      */
111     public void setValue(byte[] value) {
112         this.value = value;
113     }
114 
115 }