eu.europa.esig.dss.diagnostic.jaxb.XmlKeyUsages Maven / Gradle / Ivy
Show all versions of dss-diagnostic-jaxb Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.05 at 10:03:59 AM CEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.KeyUsageBit;
/**
* Java class for KeyUsages complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="KeyUsages">
* <complexContent>
* <extension base="{http://dss.esig.europa.eu/validation/diagnostic}CertificateExtension">
* <sequence>
* <element name="keyUsageBit" type="{http://dss.esig.europa.eu/validation/diagnostic}KeyUsageBit" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "KeyUsages", propOrder = {
"keyUsageBit"
})
public class XmlKeyUsages
extends XmlCertificateExtension
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter19 .class)
protected List keyUsageBit;
/**
* Gets the value of the keyUsageBit property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the keyUsageBit property.
*
*
* For example, to add a new item, do as follows:
*
* getKeyUsageBit().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getKeyUsageBit() {
if (keyUsageBit == null) {
keyUsageBit = new ArrayList();
}
return this.keyUsageBit;
}
}