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