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

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

There is a newer version: 6.0.d4j.2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.05.29 at 09:26:39 AM CEST 
//


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

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for Certificate complex type. * *

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

 * <complexType name="Certificate">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="SubjectDistinguishedName" type="{http://dss.esig.europa.eu/validation/diagnostic}DistinguishedName" maxOccurs="unbounded"/>
 *         <element name="IssuerDistinguishedName" type="{http://dss.esig.europa.eu/validation/diagnostic}DistinguishedName" maxOccurs="unbounded"/>
 *         <element name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/>
 *         <element name="CommonName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="CountryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="OrganizationalUnit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Surname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Pseudonym" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="AuthorityInformationAccessUrls" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="CRLDistributionPoints" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="OCSPAccessUrls" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="DigestAlgoAndValues" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValues" minOccurs="0"/>
 *         <element name="NotAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="PublicKeySize" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="PublicKeyEncryptionAlgo" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="KeyUsageBits" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="KeyUsage" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="IdKpOCSPSigning" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IdPkixOcspNoCheck" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="BasicSignature" type="{http://dss.esig.europa.eu/validation/diagnostic}BasicSignature"/>
 *         <element name="SigningCertificate" type="{http://dss.esig.europa.eu/validation/diagnostic}SigningCertificate" minOccurs="0"/>
 *         <element name="CertificateChain" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateChain" minOccurs="0"/>
 *         <element name="Trusted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="SelfSigned" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="CertificatePolicyIds" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="oid" type="{http://dss.esig.europa.eu/validation/diagnostic}OID" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="QCStatementIds" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="oid" type="{http://dss.esig.europa.eu/validation/diagnostic}OID" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="QCTypes" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="oid" type="{http://dss.esig.europa.eu/validation/diagnostic}OID" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="TrustedServiceProviders">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="TrustedServiceProvider" type="{http://dss.esig.europa.eu/validation/diagnostic}TrustedServiceProvider" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Revocations" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Revocation" type="{http://dss.esig.europa.eu/validation/diagnostic}Revocation" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Info" type="{http://dss.esig.europa.eu/validation/diagnostic}InfoType" minOccurs="0"/>
 *         <element name="Base64Encoded" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Certificate", propOrder = { "subjectDistinguishedName", "issuerDistinguishedName", "serialNumber", "commonName", "countryName", "organizationName", "givenName", "organizationalUnit", "surname", "pseudonym", "authorityInformationAccessUrls", "crlDistributionPoints", "ocspAccessUrls", "digestAlgoAndValues", "notAfter", "notBefore", "publicKeySize", "publicKeyEncryptionAlgo", "keyUsageBits", "idKpOCSPSigning", "idPkixOcspNoCheck", "basicSignature", "signingCertificate", "certificateChain", "trusted", "selfSigned", "certificatePolicyIds", "qcStatementIds", "qcTypes", "trustedServiceProviders", "revocations", "info", "base64Encoded" }) public class XmlCertificate { @XmlElement(name = "SubjectDistinguishedName", required = true) protected List subjectDistinguishedName; @XmlElement(name = "IssuerDistinguishedName", required = true) protected List issuerDistinguishedName; @XmlElement(name = "SerialNumber", required = true) protected BigInteger serialNumber; @XmlElement(name = "CommonName") protected String commonName; @XmlElement(name = "CountryName") protected String countryName; @XmlElement(name = "OrganizationName") protected String organizationName; @XmlElement(name = "GivenName") protected String givenName; @XmlElement(name = "OrganizationalUnit") protected String organizationalUnit; @XmlElement(name = "Surname") protected String surname; @XmlElement(name = "Pseudonym") protected String pseudonym; @XmlElementWrapper(name = "AuthorityInformationAccessUrls") @XmlElement(name = "Url", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List authorityInformationAccessUrls; @XmlElementWrapper(name = "CRLDistributionPoints") @XmlElement(name = "Url", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List crlDistributionPoints; @XmlElementWrapper(name = "OCSPAccessUrls") @XmlElement(name = "Url", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List ocspAccessUrls; @XmlElementWrapper(name = "DigestAlgoAndValues") @XmlElement(name = "DigestAlgoAndValue", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List digestAlgoAndValues; @XmlElement(name = "NotAfter", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date notAfter; @XmlElement(name = "NotBefore", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date notBefore; @XmlElement(name = "PublicKeySize") protected int publicKeySize; @XmlElement(name = "PublicKeyEncryptionAlgo", required = true) protected String publicKeyEncryptionAlgo; @XmlElementWrapper(name = "KeyUsageBits") @XmlElement(name = "KeyUsage", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List keyUsageBits; @XmlElement(name = "IdKpOCSPSigning") protected Boolean idKpOCSPSigning; @XmlElement(name = "IdPkixOcspNoCheck") protected Boolean idPkixOcspNoCheck; @XmlElement(name = "BasicSignature", required = true) protected XmlBasicSignature basicSignature; @XmlElement(name = "SigningCertificate") protected XmlSigningCertificate signingCertificate; @XmlElementWrapper(name = "CertificateChain") @XmlElement(name = "ChainItem", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List certificateChain; @XmlElement(name = "Trusted") protected boolean trusted; @XmlElement(name = "SelfSigned") protected boolean selfSigned; @XmlElementWrapper(name = "CertificatePolicyIds") @XmlElement(name = "oid", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List certificatePolicyIds; @XmlElementWrapper(name = "QCStatementIds") @XmlElement(name = "oid", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List qcStatementIds; @XmlElementWrapper(name = "QCTypes") @XmlElement(name = "oid", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List qcTypes; @XmlElementWrapper(name = "TrustedServiceProviders", required = true) @XmlElement(name = "TrustedServiceProvider", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List trustedServiceProviders; @XmlElementWrapper(name = "Revocations") @XmlElement(name = "Revocation", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List revocations; @XmlElementWrapper(name = "Info") @XmlElement(name = "Message", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List info; @XmlElement(name = "Base64Encoded") protected byte[] base64Encoded; @XmlAttribute(name = "Id", required = true) protected String id; /** * 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 JAXB 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 JAXB 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 commonName property. * * @return * possible object is * {@link String } * */ public String getCommonName() { return commonName; } /** * Sets the value of the commonName property. * * @param value * allowed object is * {@link String } * */ public void setCommonName(String value) { this.commonName = value; } /** * Gets the value of the countryName property. * * @return * possible object is * {@link String } * */ public String getCountryName() { return countryName; } /** * Sets the value of the countryName property. * * @param value * allowed object is * {@link String } * */ public void setCountryName(String value) { this.countryName = value; } /** * Gets the value of the organizationName property. * * @return * possible object is * {@link String } * */ public String getOrganizationName() { return organizationName; } /** * Sets the value of the organizationName property. * * @param value * allowed object is * {@link String } * */ public void setOrganizationName(String value) { this.organizationName = value; } /** * Gets the value of the givenName property. * * @return * possible object is * {@link String } * */ public String getGivenName() { return givenName; } /** * Sets the value of the givenName property. * * @param value * allowed object is * {@link String } * */ public void setGivenName(String value) { this.givenName = value; } /** * Gets the value of the organizationalUnit property. * * @return * possible object is * {@link String } * */ public String getOrganizationalUnit() { return organizationalUnit; } /** * Sets the value of the organizationalUnit property. * * @param value * allowed object is * {@link String } * */ public void setOrganizationalUnit(String value) { this.organizationalUnit = value; } /** * Gets the value of the surname property. * * @return * possible object is * {@link String } * */ public String getSurname() { return surname; } /** * Sets the value of the surname property. * * @param value * allowed object is * {@link String } * */ public void setSurname(String value) { this.surname = value; } /** * Gets the value of the pseudonym property. * * @return * possible object is * {@link String } * */ public String getPseudonym() { return pseudonym; } /** * Sets the value of the pseudonym property. * * @param value * allowed object is * {@link String } * */ public void setPseudonym(String value) { this.pseudonym = 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 publicKeySize property. * */ public int getPublicKeySize() { return publicKeySize; } /** * Sets the value of the publicKeySize property. * */ public void setPublicKeySize(int value) { this.publicKeySize = value; } /** * Gets the value of the publicKeyEncryptionAlgo property. * * @return * possible object is * {@link String } * */ public String getPublicKeyEncryptionAlgo() { return publicKeyEncryptionAlgo; } /** * Sets the value of the publicKeyEncryptionAlgo property. * * @param value * allowed object is * {@link String } * */ public void setPublicKeyEncryptionAlgo(String value) { this.publicKeyEncryptionAlgo = value; } /** * Gets the value of the idKpOCSPSigning property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIdKpOCSPSigning() { return idKpOCSPSigning; } /** * Sets the value of the idKpOCSPSigning property. * * @param value * allowed object is * {@link Boolean } * */ public void setIdKpOCSPSigning(Boolean value) { this.idKpOCSPSigning = value; } /** * Gets the value of the idPkixOcspNoCheck property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIdPkixOcspNoCheck() { return idPkixOcspNoCheck; } /** * Sets the value of the idPkixOcspNoCheck property. * * @param value * allowed object is * {@link Boolean } * */ public void setIdPkixOcspNoCheck(Boolean value) { this.idPkixOcspNoCheck = value; } /** * Gets the value of the basicSignature property. * * @return * possible object is * {@link XmlBasicSignature } * */ public XmlBasicSignature getBasicSignature() { return basicSignature; } /** * Sets the value of the basicSignature property. * * @param value * allowed object is * {@link XmlBasicSignature } * */ public void setBasicSignature(XmlBasicSignature value) { this.basicSignature = value; } /** * Gets the value of the signingCertificate property. * * @return * possible object is * {@link XmlSigningCertificate } * */ public XmlSigningCertificate getSigningCertificate() { return signingCertificate; } /** * Sets the value of the signingCertificate property. * * @param value * allowed object is * {@link XmlSigningCertificate } * */ public void setSigningCertificate(XmlSigningCertificate value) { this.signingCertificate = value; } /** * Gets the value of the trusted property. * */ public boolean isTrusted() { return trusted; } /** * Sets the value of the trusted property. * */ public void setTrusted(boolean value) { this.trusted = value; } /** * Gets the value of the selfSigned property. * */ public boolean isSelfSigned() { return selfSigned; } /** * Sets the value of the selfSigned property. * */ 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 id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } public List getAuthorityInformationAccessUrls() { if (authorityInformationAccessUrls == null) { authorityInformationAccessUrls = new ArrayList(); } return authorityInformationAccessUrls; } public void setAuthorityInformationAccessUrls(List authorityInformationAccessUrls) { this.authorityInformationAccessUrls = authorityInformationAccessUrls; } public List getCRLDistributionPoints() { if (crlDistributionPoints == null) { crlDistributionPoints = new ArrayList(); } return crlDistributionPoints; } public void setCRLDistributionPoints(List crlDistributionPoints) { this.crlDistributionPoints = crlDistributionPoints; } public List getOCSPAccessUrls() { if (ocspAccessUrls == null) { ocspAccessUrls = new ArrayList(); } return ocspAccessUrls; } public void setOCSPAccessUrls(List ocspAccessUrls) { this.ocspAccessUrls = ocspAccessUrls; } public List getDigestAlgoAndValues() { if (digestAlgoAndValues == null) { digestAlgoAndValues = new ArrayList(); } return digestAlgoAndValues; } public void setDigestAlgoAndValues(List digestAlgoAndValues) { this.digestAlgoAndValues = digestAlgoAndValues; } public List getKeyUsageBits() { if (keyUsageBits == null) { keyUsageBits = new ArrayList(); } return keyUsageBits; } public void setKeyUsageBits(List keyUsageBits) { this.keyUsageBits = keyUsageBits; } public List getCertificateChain() { if (certificateChain == null) { certificateChain = new ArrayList(); } return certificateChain; } public void setCertificateChain(List certificateChain) { this.certificateChain = certificateChain; } public List getCertificatePolicyIds() { if (certificatePolicyIds == null) { certificatePolicyIds = new ArrayList(); } return certificatePolicyIds; } public void setCertificatePolicyIds(List certificatePolicyIds) { this.certificatePolicyIds = certificatePolicyIds; } public List getQCStatementIds() { if (qcStatementIds == null) { qcStatementIds = new ArrayList(); } return qcStatementIds; } public void setQCStatementIds(List qcStatementIds) { this.qcStatementIds = qcStatementIds; } public List getQCTypes() { if (qcTypes == null) { qcTypes = new ArrayList(); } return qcTypes; } public void setQCTypes(List qcTypes) { this.qcTypes = qcTypes; } public List getTrustedServiceProviders() { if (trustedServiceProviders == null) { trustedServiceProviders = new ArrayList(); } return trustedServiceProviders; } public void setTrustedServiceProviders(List trustedServiceProviders) { this.trustedServiceProviders = trustedServiceProviders; } public List getRevocations() { if (revocations == null) { revocations = new ArrayList(); } return revocations; } public void setRevocations(List revocations) { this.revocations = revocations; } public List getInfo() { if (info == null) { info = new ArrayList(); } return info; } public void setInfo(List info) { this.info = info; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy