01: package org.w3._2000._09.xmldsig_;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05: import javax.xml.bind.JAXBElement;
06: import javax.xml.bind.annotation.XmlAccessType;
07: import javax.xml.bind.annotation.XmlAccessorType;
08: import javax.xml.bind.annotation.XmlAnyElement;
09: import javax.xml.bind.annotation.XmlElementRef;
10: import javax.xml.bind.annotation.XmlElementRefs;
11: import javax.xml.bind.annotation.XmlRootElement;
12: import javax.xml.bind.annotation.XmlType;
13: import org.w3c.dom.Element;
14:
15: /**
16: * <p>Java class for X509DataType complex type.
17: *
18: * <p>The following schema fragment specifies the expected content contained within this class.
19: *
20: * <pre>
21: * <complexType name="X509DataType">
22: * <complexContent>
23: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24: * <sequence maxOccurs="unbounded">
25: * <choice>
26: * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/>
27: * <element name="X509SKI" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
28: * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
29: * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
30: * <element name="X509CRL" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
31: * <any/>
32: * </choice>
33: * </sequence>
34: * </restriction>
35: * </complexContent>
36: * </complexType>
37: * </pre>
38: *
39: *
40: */
41: @XmlRootElement
42: @XmlAccessorType(XmlAccessType.FIELD)
43: @XmlType(name="X509Data",propOrder={"x509IssuerSerialOrX509SKIOrX509SubjectName"})
44: public class X509DataType {
45:
46: @XmlElementRefs({@XmlElementRef(name="X509SKI",namespace="http://www.w3.org/2000/09/xmldsig#",type=JAXBElement.class),@XmlElementRef(name="X509Certificate",namespace="http://www.w3.org/2000/09/xmldsig#",type=JAXBElement.class),@XmlElementRef(name="X509SubjectName",namespace="http://www.w3.org/2000/09/xmldsig#",type=JAXBElement.class),@XmlElementRef(name="X509IssuerSerial",namespace="http://www.w3.org/2000/09/xmldsig#",type=JAXBElement.class),@XmlElementRef(name="X509CRL",namespace="http://www.w3.org/2000/09/xmldsig#",type=JAXBElement.class)})
47: @XmlAnyElement(lax=true)
48: protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName;
49:
50: /**
51: * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property.
52: *
53: * <p>
54: * This accessor method returns a reference to the live list,
55: * not a snapshot. Therefore any modification you make to the
56: * returned list will be present inside the JAXB object.
57: * This is why there is not a <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property.
58: *
59: * <p>
60: * For example, to add a new item, do as follows:
61: * <pre>
62: * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem);
63: * </pre>
64: *
65: *
66: * <p>
67: * Objects of the following type(s) are allowed in the list
68: * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
69: * {@link Element }
70: * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
71: * {@link JAXBElement }{@code <}{@link String }{@code >}
72: * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}
73: * {@link Object }
74: * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
75: *
76: *
77: */
78: public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() {
79: if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) {
80: x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>();
81: }
82: return this.x509IssuerSerialOrX509SKIOrX509SubjectName;
83: }
84:
85: }
|