001: package org.w3._2000._09.xmldsig_;
002:
003: import java.util.ArrayList;
004: import java.util.List;
005:
006: import javax.xml.bind.annotation.XmlAccessType;
007: import javax.xml.bind.annotation.XmlAccessorType;
008: import javax.xml.bind.annotation.XmlAttribute;
009: import javax.xml.bind.annotation.XmlElement;
010: import javax.xml.bind.annotation.XmlID;
011: import javax.xml.bind.annotation.XmlSchemaType;
012: import javax.xml.bind.annotation.XmlType;
013: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
014: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
015:
016: /**
017: * <p>Java class for SignatureType complex type.
018: *
019: * <p>The following schema fragment specifies the expected content contained within this class.
020: *
021: * <pre>
022: * <complexType name="SignatureType">
023: * <complexContent>
024: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
025: * <sequence>
026: * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/>
027: * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/>
028: * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/>
029: * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/>
030: * </sequence>
031: * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
032: * </restriction>
033: * </complexContent>
034: * </complexType>
035: * </pre>
036: *
037: *
038: */
039:
040: @XmlAccessorType(XmlAccessType.FIELD)
041: @XmlType(name="SignatureType",propOrder={"signedInfo","signatureValue","keyInfo","object"})
042: public class SignatureType {
043:
044: @XmlElement(name="SignedInfo",required=true)
045: protected SignedInfoType signedInfo;
046: @XmlElement(name="SignatureValue",required=true)
047: protected SignatureValueType signatureValue;
048: @XmlElement(name="KeyInfo")
049: protected KeyInfoType keyInfo;
050: @XmlElement(name="Object")
051: protected List<ObjectType> object;
052: @XmlAttribute(name="Id")
053: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
054: @XmlID
055: @XmlSchemaType(name="ID")
056: protected String id;
057:
058: /**
059: * Gets the value of the signedInfo property.
060: *
061: * @return
062: * possible object is
063: * {@link SignedInfoType }
064: *
065: */
066: public SignedInfoType getSignedInfo() {
067: return signedInfo;
068: }
069:
070: /**
071: * Sets the value of the signedInfo property.
072: *
073: * @param value
074: * allowed object is
075: * {@link SignedInfoType }
076: *
077: */
078: public void setSignedInfo(SignedInfoType value) {
079: this .signedInfo = value;
080: }
081:
082: /**
083: * Gets the value of the signatureValue property.
084: *
085: * @return
086: * possible object is
087: * {@link SignatureValueType }
088: *
089: */
090: public SignatureValueType getSignatureValue() {
091: return signatureValue;
092: }
093:
094: /**
095: * Sets the value of the signatureValue property.
096: *
097: * @param value
098: * allowed object is
099: * {@link SignatureValueType }
100: *
101: */
102: public void setSignatureValue(SignatureValueType value) {
103: this .signatureValue = value;
104: }
105:
106: /**
107: * Gets the value of the keyInfo property.
108: *
109: * @return
110: * possible object is
111: * {@link KeyInfoType }
112: *
113: */
114: public KeyInfoType getKeyInfo() {
115: return keyInfo;
116: }
117:
118: /**
119: * Sets the value of the keyInfo property.
120: *
121: * @param value
122: * allowed object is
123: * {@link KeyInfoType }
124: *
125: */
126: public void setKeyInfo(KeyInfoType value) {
127: this .keyInfo = value;
128: }
129:
130: /**
131: * Gets the value of the object property.
132: *
133: * <p>
134: * This accessor method returns a reference to the live list,
135: * not a snapshot. Therefore any modification you make to the
136: * returned list will be present inside the JAXB object.
137: * This is why there is not a <CODE>set</CODE> method for the object property.
138: *
139: * <p>
140: * For example, to add a new item, do as follows:
141: * <pre>
142: * getObject().add(newItem);
143: * </pre>
144: *
145: *
146: * <p>
147: * Objects of the following type(s) are allowed in the list
148: * {@link ObjectType }
149: *
150: *
151: */
152: public List<ObjectType> getObject() {
153: if (object == null) {
154: object = new ArrayList<ObjectType>();
155: }
156: return this .object;
157: }
158:
159: /**
160: * Gets the value of the id property.
161: *
162: * @return
163: * possible object is
164: * {@link String }
165: *
166: */
167: public String getId() {
168: return id;
169: }
170:
171: /**
172: * Sets the value of the id property.
173: *
174: * @param value
175: * allowed object is
176: * {@link String }
177: *
178: */
179: public void setId(String value) {
180: this.id = value;
181: }
182:
183: }
|