Package eu.europa.esig.dss.pki.jaxb
Class XmlCertificateType
java.lang.Object
eu.europa.esig.dss.pki.jaxb.XmlCertificateType
- All Implemented Interfaces:
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 Summary
Modifier and TypeFieldDescriptionprotected XmlEmptyType
protected XmlEntityKey
protected XmlCertificatePolicies
protected String
protected XmlEntityKey
protected XmlEntityKey
protected DigestAlgorithm
protected XmlExtendedKeyUsages
protected XmlEntityKey
protected XmlKeyAlgo
protected XmlKeyUsages
protected XmlDateDefinitionType
protected XmlDateDefinitionType
protected XmlEntityKey
protected XmlEmptyType
protected XmlEntityKey
protected String
protected String
protected XmlQcCClegislation
protected XmlQcStatementIds
protected XmlQcTypes
protected XmlRevocationType
protected long
protected String
protected XmlEmptyType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCa()
Gets the value of the ca property.Gets the value of the caIssuers property.Gets the value of the certificatePolicies property.Gets the value of the country property.getCrl()
Gets the value of the crl property.Gets the value of the crossCertificate property.Gets the value of the digestAlgo property.Gets the value of the extendedKeyUsages property.Gets the value of the issuer property.Gets the value of the keyAlgo property.Gets the value of the keyUsages property.Gets the value of the notAfter property.Gets the value of the notBefore property.getOcsp()
Gets the value of the ocsp property.Gets the value of the ocspNoCheck property.Gets the value of the ocspResponder property.Gets the value of the organization property.Gets the value of the pseudo property.Gets the value of the qcCClegislation property.Gets the value of the qcStatementIds property.Gets the value of the qcTypes property.Gets the value of the revocation property.long
Gets the value of the serialNumber property.Gets the value of the subject property.Gets the value of the trustAnchor property.void
setCa
(XmlEmptyType value) Sets the value of the ca property.void
setCaIssuers
(XmlEntityKey value) Sets the value of the caIssuers property.void
Sets the value of the certificatePolicies property.void
setCountry
(String value) Sets the value of the country property.void
setCrl
(XmlEntityKey value) Sets the value of the crl property.void
setCrossCertificate
(XmlEntityKey value) Sets the value of the crossCertificate property.void
setDigestAlgo
(DigestAlgorithm value) Sets the value of the digestAlgo property.void
Sets the value of the extendedKeyUsages property.void
setIssuer
(XmlEntityKey value) Sets the value of the issuer property.void
setKeyAlgo
(XmlKeyAlgo value) Sets the value of the keyAlgo property.void
setKeyUsages
(XmlKeyUsages value) Sets the value of the keyUsages property.void
setNotAfter
(XmlDateDefinitionType value) Sets the value of the notAfter property.void
Sets the value of the notBefore property.void
setOcsp
(XmlEntityKey value) Sets the value of the ocsp property.void
setOcspNoCheck
(XmlEmptyType value) Sets the value of the ocspNoCheck property.void
setOcspResponder
(XmlEntityKey value) Sets the value of the ocspResponder property.void
setOrganization
(String value) Sets the value of the organization property.void
Sets the value of the pseudo property.void
Sets the value of the qcCClegislation property.void
Sets the value of the qcStatementIds property.void
setQcTypes
(XmlQcTypes value) Sets the value of the qcTypes property.void
setRevocation
(XmlRevocationType value) Sets the value of the revocation property.void
setSerialNumber
(long value) Sets the value of the serialNumber property.void
setSubject
(String value) Sets the value of the subject property.void
setTrustAnchor
(XmlEmptyType value) Sets the value of the trustAnchor property.
-
Field Details
-
serialNumber
protected long serialNumber -
subject
-
organization
-
country
-
pseudo
-
issuer
-
crossCertificate
-
ocspResponder
-
notBefore
-
notAfter
-
keyAlgo
-
digestAlgo
-
keyUsages
-
extendedKeyUsages
-
certificatePolicies
-
ca
-
ocspNoCheck
-
qcStatementIds
-
qcTypes
-
qcCClegislation
-
crl
-
ocsp
-
caIssuers
-
trustAnchor
-
revocation
-
-
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
-
setSubject
-
getOrganization
-
setOrganization
-
getCountry
-
setCountry
-
getPseudo
-
setPseudo
-
getIssuer
Gets the value of the issuer property.- Returns:
- possible object is
XmlEntityKey
-
setIssuer
Sets the value of the issuer property.- Parameters:
value
- allowed object isXmlEntityKey
-
getCrossCertificate
Gets the value of the crossCertificate property.- Returns:
- possible object is
XmlEntityKey
-
setCrossCertificate
Sets the value of the crossCertificate property.- Parameters:
value
- allowed object isXmlEntityKey
-
getOcspResponder
Gets the value of the ocspResponder property.- Returns:
- possible object is
XmlEntityKey
-
setOcspResponder
Sets the value of the ocspResponder property.- Parameters:
value
- allowed object isXmlEntityKey
-
getNotBefore
Gets the value of the notBefore property.- Returns:
- possible object is
XmlDateDefinitionType
-
setNotBefore
Sets the value of the notBefore property.- Parameters:
value
- allowed object isXmlDateDefinitionType
-
getNotAfter
Gets the value of the notAfter property.- Returns:
- possible object is
XmlDateDefinitionType
-
setNotAfter
Sets the value of the notAfter property.- Parameters:
value
- allowed object isXmlDateDefinitionType
-
getKeyAlgo
Gets the value of the keyAlgo property.- Returns:
- possible object is
XmlKeyAlgo
-
setKeyAlgo
Sets the value of the keyAlgo property.- Parameters:
value
- allowed object isXmlKeyAlgo
-
getDigestAlgo
Gets the value of the digestAlgo property.- Returns:
- possible object is
String
-
setDigestAlgo
Sets the value of the digestAlgo property.- Parameters:
value
- allowed object isString
-
getKeyUsages
Gets the value of the keyUsages property.- Returns:
- possible object is
XmlKeyUsages
-
setKeyUsages
Sets the value of the keyUsages property.- Parameters:
value
- allowed object isXmlKeyUsages
-
getExtendedKeyUsages
Gets the value of the extendedKeyUsages property.- Returns:
- possible object is
XmlExtendedKeyUsages
-
setExtendedKeyUsages
Sets the value of the extendedKeyUsages property.- Parameters:
value
- allowed object isXmlExtendedKeyUsages
-
getCertificatePolicies
Gets the value of the certificatePolicies property.- Returns:
- possible object is
XmlCertificatePolicies
-
setCertificatePolicies
Sets the value of the certificatePolicies property.- Parameters:
value
- allowed object isXmlCertificatePolicies
-
getCa
Gets the value of the ca property.- Returns:
- possible object is
XmlEmptyType
-
setCa
Sets the value of the ca property.- Parameters:
value
- allowed object isXmlEmptyType
-
getOcspNoCheck
Gets the value of the ocspNoCheck property.- Returns:
- possible object is
XmlEmptyType
-
setOcspNoCheck
Sets the value of the ocspNoCheck property.- Parameters:
value
- allowed object isXmlEmptyType
-
getQcStatementIds
Gets the value of the qcStatementIds property.- Returns:
- possible object is
XmlQcStatementIds
-
setQcStatementIds
Sets the value of the qcStatementIds property.- Parameters:
value
- allowed object isXmlQcStatementIds
-
getQcTypes
Gets the value of the qcTypes property.- Returns:
- possible object is
XmlQcTypes
-
setQcTypes
Sets the value of the qcTypes property.- Parameters:
value
- allowed object isXmlQcTypes
-
getQcCClegislation
Gets the value of the qcCClegislation property.- Returns:
- possible object is
XmlQcCClegislation
-
setQcCClegislation
Sets the value of the qcCClegislation property.- Parameters:
value
- allowed object isXmlQcCClegislation
-
getCrl
Gets the value of the crl property.- Returns:
- possible object is
XmlEntityKey
-
setCrl
Sets the value of the crl property.- Parameters:
value
- allowed object isXmlEntityKey
-
getOcsp
Gets the value of the ocsp property.- Returns:
- possible object is
XmlEntityKey
-
setOcsp
Sets the value of the ocsp property.- Parameters:
value
- allowed object isXmlEntityKey
-
getCaIssuers
Gets the value of the caIssuers property.- Returns:
- possible object is
XmlEntityKey
-
setCaIssuers
Sets the value of the caIssuers property.- Parameters:
value
- allowed object isXmlEntityKey
-
getTrustAnchor
Gets the value of the trustAnchor property.- Returns:
- possible object is
XmlEmptyType
-
setTrustAnchor
Sets the value of the trustAnchor property.- Parameters:
value
- allowed object isXmlEmptyType
-
getRevocation
Gets the value of the revocation property.- Returns:
- possible object is
XmlRevocationType
-
setRevocation
Sets the value of the revocation property.- Parameters:
value
- allowed object isXmlRevocationType
-