public class XmlCertificate extends Object
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>
| Constructor and Description |
|---|
XmlCertificate() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAuthorityInformationAccessUrls() |
byte[] |
getBase64Encoded()
Gets the value of the base64Encoded property.
|
XmlBasicSignature |
getBasicSignature()
Gets the value of the basicSignature property.
|
List<XmlChainItem> |
getCertificateChain() |
List<XmlOID> |
getCertificatePolicyIds() |
String |
getCommonName()
Gets the value of the commonName property.
|
String |
getCountryName()
Gets the value of the countryName property.
|
List<String> |
getCRLDistributionPoints() |
List<XmlDigestAlgoAndValue> |
getDigestAlgoAndValues() |
String |
getGivenName()
Gets the value of the givenName property.
|
String |
getId()
Gets the value of the id property.
|
List<XmlMessage> |
getInfo() |
List<XmlDistinguishedName> |
getIssuerDistinguishedName()
Gets the value of the issuerDistinguishedName property.
|
List<String> |
getKeyUsageBits() |
Date |
getNotAfter()
Gets the value of the notAfter property.
|
Date |
getNotBefore()
Gets the value of the notBefore property.
|
List<String> |
getOCSPAccessUrls() |
String |
getOrganizationalUnit()
Gets the value of the organizationalUnit property.
|
String |
getOrganizationName()
Gets the value of the organizationName property.
|
String |
getPseudonym()
Gets the value of the pseudonym property.
|
String |
getPublicKeyEncryptionAlgo()
Gets the value of the publicKeyEncryptionAlgo property.
|
int |
getPublicKeySize()
Gets the value of the publicKeySize property.
|
List<XmlOID> |
getQCStatementIds() |
List<XmlOID> |
getQCTypes() |
List<XmlRevocation> |
getRevocations() |
BigInteger |
getSerialNumber()
Gets the value of the serialNumber property.
|
XmlSigningCertificate |
getSigningCertificate()
Gets the value of the signingCertificate property.
|
List<XmlDistinguishedName> |
getSubjectDistinguishedName()
Gets the value of the subjectDistinguishedName property.
|
String |
getSurname()
Gets the value of the surname property.
|
List<XmlTrustedServiceProvider> |
getTrustedServiceProviders() |
Boolean |
isIdKpOCSPSigning()
Gets the value of the idKpOCSPSigning property.
|
Boolean |
isIdPkixOcspNoCheck()
Gets the value of the idPkixOcspNoCheck property.
|
boolean |
isSelfSigned()
Gets the value of the selfSigned property.
|
boolean |
isTrusted()
Gets the value of the trusted property.
|
void |
setAuthorityInformationAccessUrls(List<String> authorityInformationAccessUrls) |
void |
setBase64Encoded(byte[] value)
Sets the value of the base64Encoded property.
|
void |
setBasicSignature(XmlBasicSignature value)
Sets the value of the basicSignature property.
|
void |
setCertificateChain(List<XmlChainItem> certificateChain) |
void |
setCertificatePolicyIds(List<XmlOID> certificatePolicyIds) |
void |
setCommonName(String value)
Sets the value of the commonName property.
|
void |
setCountryName(String value)
Sets the value of the countryName property.
|
void |
setCRLDistributionPoints(List<String> crlDistributionPoints) |
void |
setDigestAlgoAndValues(List<XmlDigestAlgoAndValue> digestAlgoAndValues) |
void |
setGivenName(String value)
Sets the value of the givenName property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIdKpOCSPSigning(Boolean value)
Sets the value of the idKpOCSPSigning property.
|
void |
setIdPkixOcspNoCheck(Boolean value)
Sets the value of the idPkixOcspNoCheck property.
|
void |
setInfo(List<XmlMessage> info) |
void |
setKeyUsageBits(List<String> keyUsageBits) |
void |
setNotAfter(Date value)
Sets the value of the notAfter property.
|
void |
setNotBefore(Date value)
Sets the value of the notBefore property.
|
void |
setOCSPAccessUrls(List<String> ocspAccessUrls) |
void |
setOrganizationalUnit(String value)
Sets the value of the organizationalUnit property.
|
void |
setOrganizationName(String value)
Sets the value of the organizationName property.
|
void |
setPseudonym(String value)
Sets the value of the pseudonym property.
|
void |
setPublicKeyEncryptionAlgo(String value)
Sets the value of the publicKeyEncryptionAlgo property.
|
void |
setPublicKeySize(int value)
Sets the value of the publicKeySize property.
|
void |
setQCStatementIds(List<XmlOID> qcStatementIds) |
void |
setQCTypes(List<XmlOID> qcTypes) |
void |
setRevocations(List<XmlRevocation> revocations) |
void |
setSelfSigned(boolean value)
Sets the value of the selfSigned property.
|
void |
setSerialNumber(BigInteger value)
Sets the value of the serialNumber property.
|
void |
setSigningCertificate(XmlSigningCertificate value)
Sets the value of the signingCertificate property.
|
void |
setSurname(String value)
Sets the value of the surname property.
|
void |
setTrusted(boolean value)
Sets the value of the trusted property.
|
void |
setTrustedServiceProviders(List<XmlTrustedServiceProvider> trustedServiceProviders) |
protected List<XmlDistinguishedName> subjectDistinguishedName
protected List<XmlDistinguishedName> issuerDistinguishedName
protected BigInteger serialNumber
protected String commonName
protected String countryName
protected String organizationName
protected String givenName
protected String organizationalUnit
protected String surname
protected String pseudonym
protected List<XmlDigestAlgoAndValue> digestAlgoAndValues
protected Date notAfter
protected Date notBefore
protected int publicKeySize
protected String publicKeyEncryptionAlgo
protected Boolean idKpOCSPSigning
protected Boolean idPkixOcspNoCheck
protected XmlBasicSignature basicSignature
protected XmlSigningCertificate signingCertificate
protected List<XmlChainItem> certificateChain
protected boolean trusted
protected boolean selfSigned
protected List<XmlTrustedServiceProvider> trustedServiceProviders
protected List<XmlRevocation> revocations
protected List<XmlMessage> info
protected byte[] base64Encoded
protected String id
public List<XmlDistinguishedName> getSubjectDistinguishedName()
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
XmlDistinguishedName
public List<XmlDistinguishedName> getIssuerDistinguishedName()
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
XmlDistinguishedName
public BigInteger getSerialNumber()
BigIntegerpublic void setSerialNumber(BigInteger value)
value - allowed object is
BigIntegerpublic String getCommonName()
Stringpublic void setCommonName(String value)
value - allowed object is
Stringpublic String getCountryName()
Stringpublic void setCountryName(String value)
value - allowed object is
Stringpublic String getOrganizationName()
Stringpublic void setOrganizationName(String value)
value - allowed object is
Stringpublic String getGivenName()
Stringpublic void setGivenName(String value)
value - allowed object is
Stringpublic String getOrganizationalUnit()
Stringpublic void setOrganizationalUnit(String value)
value - allowed object is
Stringpublic String getSurname()
Stringpublic void setSurname(String value)
value - allowed object is
Stringpublic String getPseudonym()
Stringpublic void setPseudonym(String value)
value - allowed object is
Stringpublic Date getNotAfter()
Stringpublic void setNotAfter(Date value)
value - allowed object is
Stringpublic Date getNotBefore()
Stringpublic void setNotBefore(Date value)
value - allowed object is
Stringpublic int getPublicKeySize()
public void setPublicKeySize(int value)
public String getPublicKeyEncryptionAlgo()
Stringpublic void setPublicKeyEncryptionAlgo(String value)
value - allowed object is
Stringpublic Boolean isIdKpOCSPSigning()
Booleanpublic void setIdKpOCSPSigning(Boolean value)
value - allowed object is
Booleanpublic Boolean isIdPkixOcspNoCheck()
Booleanpublic void setIdPkixOcspNoCheck(Boolean value)
value - allowed object is
Booleanpublic XmlBasicSignature getBasicSignature()
XmlBasicSignaturepublic void setBasicSignature(XmlBasicSignature value)
value - allowed object is
XmlBasicSignaturepublic XmlSigningCertificate getSigningCertificate()
XmlSigningCertificatepublic void setSigningCertificate(XmlSigningCertificate value)
value - allowed object is
XmlSigningCertificatepublic boolean isTrusted()
public void setTrusted(boolean value)
public boolean isSelfSigned()
public void setSelfSigned(boolean value)
public byte[] getBase64Encoded()
public void setBase64Encoded(byte[] value)
value - allowed object is
byte[]public void setId(String value)
value - allowed object is
Stringpublic void setAuthorityInformationAccessUrls(List<String> authorityInformationAccessUrls)
public List<XmlDigestAlgoAndValue> getDigestAlgoAndValues()
public void setDigestAlgoAndValues(List<XmlDigestAlgoAndValue> digestAlgoAndValues)
public List<XmlChainItem> getCertificateChain()
public void setCertificateChain(List<XmlChainItem> certificateChain)
public List<XmlTrustedServiceProvider> getTrustedServiceProviders()
public void setTrustedServiceProviders(List<XmlTrustedServiceProvider> trustedServiceProviders)
public List<XmlRevocation> getRevocations()
public void setRevocations(List<XmlRevocation> revocations)
public List<XmlMessage> getInfo()
public void setInfo(List<XmlMessage> info)
Copyright © 2018. All rights reserved.