All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.europa.esig.dss.diagnostic.jaxb.XmlOrphanCertificateToken Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.06.17 at 03:23:20 PM EEST 
//


package eu.europa.esig.dss.diagnostic.jaxb;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import eu.europa.esig.dss.jaxb.parsers.DateParser;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for OrphanCertificateToken complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="OrphanCertificateToken">
 *   <complexContent>
 *     <extension base="{http://dss.esig.europa.eu/validation/diagnostic}OrphanToken">
 *       <sequence>
 *         <element name="SubjectDistinguishedName" type="{http://dss.esig.europa.eu/validation/diagnostic}DistinguishedName" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="IssuerDistinguishedName" type="{http://dss.esig.europa.eu/validation/diagnostic}DistinguishedName" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
 *         <element name="NotAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="EntityKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Trusted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="SelfSigned" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="Base64Encoded" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
 *           <element name="DigestAlgoAndValue" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue"/>
 *         </choice>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OrphanCertificateToken", propOrder = { "subjectDistinguishedName", "issuerDistinguishedName", "serialNumber", "notAfter", "notBefore", "entityKey", "trusted", "selfSigned", "base64Encoded", "digestAlgoAndValue" }) public class XmlOrphanCertificateToken extends XmlOrphanToken implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "SubjectDistinguishedName") protected List subjectDistinguishedName; @XmlElement(name = "IssuerDistinguishedName") protected List issuerDistinguishedName; @XmlElement(name = "SerialNumber") protected BigInteger serialNumber; @XmlElement(name = "NotAfter", type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date notAfter; @XmlElement(name = "NotBefore", type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date notBefore; @XmlElement(name = "EntityKey") protected String entityKey; @XmlElement(name = "Trusted") protected Boolean trusted; @XmlElement(name = "SelfSigned") protected Boolean selfSigned; @XmlElement(name = "Base64Encoded") protected byte[] base64Encoded; @XmlElement(name = "DigestAlgoAndValue") protected XmlDigestAlgoAndValue digestAlgoAndValue; /** * Gets the value of the subjectDistinguishedName 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 Jakarta XML Binding object. * This is why there is not a set method for the subjectDistinguishedName property. * *

* For example, to add a new item, do as follows: *

     *    getSubjectDistinguishedName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link XmlDistinguishedName } * * */ public List getSubjectDistinguishedName() { if (subjectDistinguishedName == null) { subjectDistinguishedName = new ArrayList(); } return this.subjectDistinguishedName; } /** * Gets the value of the issuerDistinguishedName 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 Jakarta XML Binding object. * This is why there is not a set method for the issuerDistinguishedName property. * *

* For example, to add a new item, do as follows: *

     *    getIssuerDistinguishedName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link XmlDistinguishedName } * * */ public List getIssuerDistinguishedName() { if (issuerDistinguishedName == null) { issuerDistinguishedName = new ArrayList(); } return this.issuerDistinguishedName; } /** * Gets the value of the serialNumber property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSerialNumber() { return serialNumber; } /** * Sets the value of the serialNumber property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSerialNumber(BigInteger value) { this.serialNumber = value; } /** * Gets the value of the notAfter property. * * @return * possible object is * {@link String } * */ public Date getNotAfter() { return notAfter; } /** * Sets the value of the notAfter property. * * @param value * allowed object is * {@link String } * */ public void setNotAfter(Date value) { this.notAfter = value; } /** * Gets the value of the notBefore property. * * @return * possible object is * {@link String } * */ public Date getNotBefore() { return notBefore; } /** * Sets the value of the notBefore property. * * @param value * allowed object is * {@link String } * */ public void setNotBefore(Date value) { this.notBefore = value; } /** * Gets the value of the entityKey property. * * @return * possible object is * {@link String } * */ public String getEntityKey() { return entityKey; } /** * Sets the value of the entityKey property. * * @param value * allowed object is * {@link String } * */ public void setEntityKey(String value) { this.entityKey = value; } /** * Gets the value of the trusted property. * * @return * possible object is * {@link Boolean } * */ public Boolean isTrusted() { return trusted; } /** * Sets the value of the trusted property. * * @param value * allowed object is * {@link Boolean } * */ public void setTrusted(Boolean value) { this.trusted = value; } /** * Gets the value of the selfSigned property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSelfSigned() { return selfSigned; } /** * Sets the value of the selfSigned property. * * @param value * allowed object is * {@link Boolean } * */ public void setSelfSigned(Boolean value) { this.selfSigned = value; } /** * Gets the value of the base64Encoded property. * * @return * possible object is * byte[] */ public byte[] getBase64Encoded() { return base64Encoded; } /** * Sets the value of the base64Encoded property. * * @param value * allowed object is * byte[] */ public void setBase64Encoded(byte[] value) { this.base64Encoded = value; } /** * Gets the value of the digestAlgoAndValue property. * * @return * possible object is * {@link XmlDigestAlgoAndValue } * */ public XmlDigestAlgoAndValue getDigestAlgoAndValue() { return digestAlgoAndValue; } /** * Sets the value of the digestAlgoAndValue property. * * @param value * allowed object is * {@link XmlDigestAlgoAndValue } * */ public void setDigestAlgoAndValue(XmlDigestAlgoAndValue value) { this.digestAlgoAndValue = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy