1 2 package org.w3._2000._09.xmldsig_; 3 4 import java.util.ArrayList ; 5 import java.util.List ; 6 import javax.xml.bind.annotation.XmlAccessType; 7 import javax.xml.bind.annotation.XmlAccessorType; 8 import javax.xml.bind.annotation.XmlAttribute; 9 import javax.xml.bind.annotation.XmlElement; 10 import javax.xml.bind.annotation.XmlID; 11 import javax.xml.bind.annotation.XmlRootElement; 12 import javax.xml.bind.annotation.XmlSchemaType; 13 import javax.xml.bind.annotation.XmlType; 14 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 15 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 16 17 18 41 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "SignatureType", propOrder = { 44 "signedInfo", 45 "signatureValue", 46 "keyInfo", 47 "object" 48 }) 49 public class SignatureType { 50 51 @XmlElement(name = "SignedInfo", required = true) 52 protected SignedInfoType signedInfo; 53 @XmlElement(name = "SignatureValue", required = true) 54 protected SignatureValueType signatureValue; 55 @XmlElement(name = "KeyInfo") 56 protected KeyInfoType keyInfo; 57 @XmlElement(name = "Object") 58 protected List <ObjectType> object; 59 @XmlAttribute(name = "Id") 60 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 61 @XmlID 62 @XmlSchemaType(name = "ID") 63 protected String id; 64 65 73 public SignedInfoType getSignedInfo() { 74 return signedInfo; 75 } 76 77 85 public void setSignedInfo(SignedInfoType value) { 86 this.signedInfo = value; 87 } 88 89 97 public SignatureValueType getSignatureValue() { 98 return signatureValue; 99 } 100 101 109 public void setSignatureValue(SignatureValueType value) { 110 this.signatureValue = value; 111 } 112 113 121 public KeyInfoType getKeyInfo() { 122 return keyInfo; 123 } 124 125 133 public void setKeyInfo(KeyInfoType value) { 134 this.keyInfo = value; 135 } 136 137 159 public List <ObjectType> getObject() { 160 if (object == null) { 161 object = new ArrayList <ObjectType>(); 162 } 163 return this.object; 164 } 165 166 174 public String getId() { 175 return id; 176 } 177 178 186 public void setId(String value) { 187 this.id = value; 188 } 189 190 } 191 | Popular Tags |