Class XmlCertificateType

java.lang.Object
eu.europa.esig.dss.pki.jaxb.XmlCertificateType
All Implemented Interfaces:
Serializable

public class XmlCertificateType extends Object implements Serializable
Contains configuration of a single certificate token

Java class for CertificateType complex type.

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

 <complexType name="CertificateType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="serialNumber" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="pseudo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="issuer" type="{http://pki-factory.nowina.lu/pki-factory}EntityKey"/>
         <element name="crossCertificate" type="{http://pki-factory.nowina.lu/pki-factory}EntityKey" minOccurs="0"/>
         <element name="ocspResponder" type="{http://pki-factory.nowina.lu/pki-factory}EntityKey" minOccurs="0"/>
         <element name="notBefore" type="{http://pki-factory.nowina.lu/pki-factory}DateDefinitionType"/>
         <element name="notAfter" type="{http://pki-factory.nowina.lu/pki-factory}DateDefinitionType"/>
         <element name="keyAlgo" type="{http://pki-factory.nowina.lu/pki-factory}KeyAlgo"/>
         <element name="digestAlgo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="keyUsages" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="keyUsage" type="{http://pki-factory.nowina.lu/pki-factory}KeyUsageBit" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="extendedKeyUsages" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="extendedKeyUsage" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="certificatePolicies" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="certificatePolicy" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="ca" type="{http://pki-factory.nowina.lu/pki-factory}emptyType" minOccurs="0"/>
         <element name="ocspNoCheck" type="{http://pki-factory.nowina.lu/pki-factory}emptyType" minOccurs="0"/>
         <element name="qcStatementIds" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="qcStatement" type="{http://www.w3.org/2001/XMLSchema}string" 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="qcType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="qcCClegislation" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="CountryName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="crl" type="{http://pki-factory.nowina.lu/pki-factory}EntityKey" minOccurs="0"/>
         <element name="ocsp" type="{http://pki-factory.nowina.lu/pki-factory}EntityKey" minOccurs="0"/>
         <element name="caIssuers" type="{http://pki-factory.nowina.lu/pki-factory}EntityKey" minOccurs="0"/>
         <element name="trustAnchor" type="{http://pki-factory.nowina.lu/pki-factory}emptyType" minOccurs="0"/>
         <element name="revocation" type="{http://pki-factory.nowina.lu/pki-factory}RevocationType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • XmlCertificateType

      public XmlCertificateType()
  • Method Details

    • getSerialNumber

      public long getSerialNumber()
      Gets the value of the serialNumber property.
    • setSerialNumber

      public void setSerialNumber(long value)
      Sets the value of the serialNumber property.
    • getSubject

      public String getSubject()
      Gets the value of the subject property.
      Returns:
      possible object is String
    • setSubject

      public void setSubject(String value)
      Sets the value of the subject property.
      Parameters:
      value - allowed object is String
    • getOrganization

      public String getOrganization()
      Gets the value of the organization property.
      Returns:
      possible object is String
    • setOrganization

      public void setOrganization(String value)
      Sets the value of the organization property.
      Parameters:
      value - allowed object is String
    • getCountry

      public String getCountry()
      Gets the value of the country property.
      Returns:
      possible object is String
    • setCountry

      public void setCountry(String value)
      Sets the value of the country property.
      Parameters:
      value - allowed object is String
    • getPseudo

      public String getPseudo()
      Gets the value of the pseudo property.
      Returns:
      possible object is String
    • setPseudo

      public void setPseudo(String value)
      Sets the value of the pseudo property.
      Parameters:
      value - allowed object is String
    • getIssuer

      public XmlEntityKey getIssuer()
      Gets the value of the issuer property.
      Returns:
      possible object is XmlEntityKey
    • setIssuer

      public void setIssuer(XmlEntityKey value)
      Sets the value of the issuer property.
      Parameters:
      value - allowed object is XmlEntityKey
    • getCrossCertificate

      public XmlEntityKey getCrossCertificate()
      Gets the value of the crossCertificate property.
      Returns:
      possible object is XmlEntityKey
    • setCrossCertificate

      public void setCrossCertificate(XmlEntityKey value)
      Sets the value of the crossCertificate property.
      Parameters:
      value - allowed object is XmlEntityKey
    • getOcspResponder

      public XmlEntityKey getOcspResponder()
      Gets the value of the ocspResponder property.
      Returns:
      possible object is XmlEntityKey
    • setOcspResponder

      public void setOcspResponder(XmlEntityKey value)
      Sets the value of the ocspResponder property.
      Parameters:
      value - allowed object is XmlEntityKey
    • getNotBefore

      public XmlDateDefinitionType getNotBefore()
      Gets the value of the notBefore property.
      Returns:
      possible object is XmlDateDefinitionType
    • setNotBefore

      public void setNotBefore(XmlDateDefinitionType value)
      Sets the value of the notBefore property.
      Parameters:
      value - allowed object is XmlDateDefinitionType
    • getNotAfter

      public XmlDateDefinitionType getNotAfter()
      Gets the value of the notAfter property.
      Returns:
      possible object is XmlDateDefinitionType
    • setNotAfter

      public void setNotAfter(XmlDateDefinitionType value)
      Sets the value of the notAfter property.
      Parameters:
      value - allowed object is XmlDateDefinitionType
    • getKeyAlgo

      public XmlKeyAlgo getKeyAlgo()
      Gets the value of the keyAlgo property.
      Returns:
      possible object is XmlKeyAlgo
    • setKeyAlgo

      public void setKeyAlgo(XmlKeyAlgo value)
      Sets the value of the keyAlgo property.
      Parameters:
      value - allowed object is XmlKeyAlgo
    • getDigestAlgo

      public DigestAlgorithm getDigestAlgo()
      Gets the value of the digestAlgo property.
      Returns:
      possible object is String
    • setDigestAlgo

      public void setDigestAlgo(DigestAlgorithm value)
      Sets the value of the digestAlgo property.
      Parameters:
      value - allowed object is String
    • getKeyUsages

      public XmlKeyUsages getKeyUsages()
      Gets the value of the keyUsages property.
      Returns:
      possible object is XmlKeyUsages
    • setKeyUsages

      public void setKeyUsages(XmlKeyUsages value)
      Sets the value of the keyUsages property.
      Parameters:
      value - allowed object is XmlKeyUsages
    • getExtendedKeyUsages

      public XmlExtendedKeyUsages getExtendedKeyUsages()
      Gets the value of the extendedKeyUsages property.
      Returns:
      possible object is XmlExtendedKeyUsages
    • setExtendedKeyUsages

      public void setExtendedKeyUsages(XmlExtendedKeyUsages value)
      Sets the value of the extendedKeyUsages property.
      Parameters:
      value - allowed object is XmlExtendedKeyUsages
    • getCertificatePolicies

      public XmlCertificatePolicies getCertificatePolicies()
      Gets the value of the certificatePolicies property.
      Returns:
      possible object is XmlCertificatePolicies
    • setCertificatePolicies

      public void setCertificatePolicies(XmlCertificatePolicies value)
      Sets the value of the certificatePolicies property.
      Parameters:
      value - allowed object is XmlCertificatePolicies
    • getCa

      public XmlEmptyType getCa()
      Gets the value of the ca property.
      Returns:
      possible object is XmlEmptyType
    • setCa

      public void setCa(XmlEmptyType value)
      Sets the value of the ca property.
      Parameters:
      value - allowed object is XmlEmptyType
    • getOcspNoCheck

      public XmlEmptyType getOcspNoCheck()
      Gets the value of the ocspNoCheck property.
      Returns:
      possible object is XmlEmptyType
    • setOcspNoCheck

      public void setOcspNoCheck(XmlEmptyType value)
      Sets the value of the ocspNoCheck property.
      Parameters:
      value - allowed object is XmlEmptyType
    • getQcStatementIds

      public XmlQcStatementIds getQcStatementIds()
      Gets the value of the qcStatementIds property.
      Returns:
      possible object is XmlQcStatementIds
    • setQcStatementIds

      public void setQcStatementIds(XmlQcStatementIds value)
      Sets the value of the qcStatementIds property.
      Parameters:
      value - allowed object is XmlQcStatementIds
    • getQcTypes

      public XmlQcTypes getQcTypes()
      Gets the value of the qcTypes property.
      Returns:
      possible object is XmlQcTypes
    • setQcTypes

      public void setQcTypes(XmlQcTypes value)
      Sets the value of the qcTypes property.
      Parameters:
      value - allowed object is XmlQcTypes
    • getQcCClegislation

      public XmlQcCClegislation getQcCClegislation()
      Gets the value of the qcCClegislation property.
      Returns:
      possible object is XmlQcCClegislation
    • setQcCClegislation

      public void setQcCClegislation(XmlQcCClegislation value)
      Sets the value of the qcCClegislation property.
      Parameters:
      value - allowed object is XmlQcCClegislation
    • getCrl

      public XmlEntityKey getCrl()
      Gets the value of the crl property.
      Returns:
      possible object is XmlEntityKey
    • setCrl

      public void setCrl(XmlEntityKey value)
      Sets the value of the crl property.
      Parameters:
      value - allowed object is XmlEntityKey
    • getOcsp

      public XmlEntityKey getOcsp()
      Gets the value of the ocsp property.
      Returns:
      possible object is XmlEntityKey
    • setOcsp

      public void setOcsp(XmlEntityKey value)
      Sets the value of the ocsp property.
      Parameters:
      value - allowed object is XmlEntityKey
    • getCaIssuers

      public XmlEntityKey getCaIssuers()
      Gets the value of the caIssuers property.
      Returns:
      possible object is XmlEntityKey
    • setCaIssuers

      public void setCaIssuers(XmlEntityKey value)
      Sets the value of the caIssuers property.
      Parameters:
      value - allowed object is XmlEntityKey
    • getTrustAnchor

      public XmlEmptyType getTrustAnchor()
      Gets the value of the trustAnchor property.
      Returns:
      possible object is XmlEmptyType
    • setTrustAnchor

      public void setTrustAnchor(XmlEmptyType value)
      Sets the value of the trustAnchor property.
      Parameters:
      value - allowed object is XmlEmptyType
    • getRevocation

      public XmlRevocationType getRevocation()
      Gets the value of the revocation property.
      Returns:
      possible object is XmlRevocationType
    • setRevocation

      public void setRevocation(XmlRevocationType value)
      Sets the value of the revocation property.
      Parameters:
      value - allowed object is XmlRevocationType