Class SimpleCertificateReport
java.lang.Object
eu.europa.esig.dss.simplecertificatereport.SimpleCertificateReport
A SimpleCertificateReport holder to fetch values from a JAXB SimpleCertificateReport.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleCertificateReport(XmlSimpleCertificateReport simpleReport) Default constructor -
Method Summary
Modifier and TypeMethodDescriptiongetCertificateAiaUrls(String certificateId) This method returns the list of AIA urls (caIssuers) for a given certificategetCertificateCommonName(String certificateId) This method returns the commonName attribute for a given certificategetCertificateCountry(String certificateId) This method returns the country attribute for a given certificategetCertificateCpsUrls(String certificateId) This method returns the list of CPS (Certificate Practice Statements) urls for a given certificategetCertificateCrlUrls(String certificateId) This method returns the list of CRL (Certificate Revocation List) urls for a given certificategetCertificateEmail(String certificateId) This method returns the email attribute for a given certificategetCertificateGivenName(String certificateId) This method returns the givenName attribute for a given certificateThis method returns a list of certificate idseu.europa.esig.dss.enumerations.IndicationgetCertificateIndication(String certificateId) This method returns theIndication(result of validation) for a given certificategetCertificateLocality(String certificateId) This method returns the locality attribute for a given certificategetCertificateNotAfter(String certificateId) This method returns the notAfter date for a given certificategetCertificateNotBefore(String certificateId) This method returns the notBefore date for a given certificategetCertificateOcspUrls(String certificateId) This method returns the list of OCSP (Online Certificate Status Protocol) urls for a given certificategetCertificateOrganizationName(String certificateId) This method returns the organizationName attribute for a given certificategetCertificateOrganizationUnit(String certificateId) This method returns the organizationUnit attribute for a given certificategetCertificatePdsUrls(String certificateId) This method returns the list of PDS (PKI Disclosure Statements) urls for a given certificategetCertificatePseudonym(String certificateId) This method returns the pseudonym attribute for a given certificategetCertificateRevocationDate(String certificateId) This method returns the revocation date for a given certificateeu.europa.esig.dss.enumerations.RevocationReasongetCertificateRevocationReason(String certificateId) This method returns the revocation reason for a given certificategetCertificateState(String certificateId) This method returns the state attribute for a given certificateeu.europa.esig.dss.enumerations.SubIndicationgetCertificateSubIndication(String certificateId) This method returns theSubIndication(result of validation) for a given certificategetCertificateSurname(String certificateId) This method returns the surname attribute for a given certificateThis methods returns the jaxb model of the simple certificate reporteu.europa.esig.dss.enumerations.CertificateQualificationThis method returns the qualification of the first certificate at its issuanceeu.europa.esig.dss.enumerations.CertificateQualificationThis method returns the qualification of the first certificate at the validation timeList<eu.europa.esig.dss.jaxb.object.Message> getQualificationErrorsAtIssuanceTime(String certificateId) This method retrieve the qualification process's errors for a given certificate by id at issuance timeList<eu.europa.esig.dss.jaxb.object.Message> getQualificationErrorsAtValidationTime(String certificateId) This method retrieve the qualification process's errors for a given certificate by id at validation timeList<eu.europa.esig.dss.jaxb.object.Message> getQualificationInfoAtIssuanceTime(String certificateId) This method retrieve the qualification process's information messages for a given certificate by id at issuance timeList<eu.europa.esig.dss.jaxb.object.Message> getQualificationInfoAtValidationTime(String certificateId) This method retrieve the qualification process's information messages for a given certificate by id at validation timeList<eu.europa.esig.dss.jaxb.object.Message> getQualificationWarningsAtIssuanceTime(String certificateId) This method retrieve the qualification process's warnings for a given certificate by id at issuance timeList<eu.europa.esig.dss.jaxb.object.Message> getQualificationWarningsAtValidationTime(String certificateId) This method retrieve the qualification process's warnings for a given certificate by id at validation timeThis method returns a Set of trust anchor VAT numbersThis method returns the used validation timeList<eu.europa.esig.dss.jaxb.object.Message> getX509ValidationErrors(String certificateId) This method retrieve the ETSI EN 319 102-1 X.509 certificate validation errors for a given certificate by idList<eu.europa.esig.dss.jaxb.object.Message> getX509ValidationInfo(String certificateId) This method retrieve the ETSI EN 319 102-1 X.509 certificate validation information messages for a given certificate by idList<eu.europa.esig.dss.jaxb.object.Message> getX509ValidationWarnings(String certificateId) This method retrieve the ETSI EN 319 102-1 X.509 certificate validation warnings for a given certificate by id
-
Constructor Details
-
SimpleCertificateReport
Default constructor- Parameters:
simpleReport-XmlSimpleCertificateReport
-
-
Method Details
-
getValidationTime
This method returns the used validation time- Returns:
- the validation time
-
getCertificateIds
This method returns a list of certificate ids- Returns:
- the list of certificate ids
-
getCertificateNotBefore
This method returns the notBefore date for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the notBefore date
-
getCertificateNotAfter
This method returns the notAfter date for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the notAfter date
-
getCertificateAiaUrls
This method returns the list of AIA urls (caIssuers) for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the list of AIA urls
-
getCertificateCpsUrls
This method returns the list of CPS (Certificate Practice Statements) urls for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the list of CPS urls
-
getCertificateCrlUrls
This method returns the list of CRL (Certificate Revocation List) urls for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the list of CRL urls
-
getCertificateOcspUrls
This method returns the list of OCSP (Online Certificate Status Protocol) urls for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the list of OCSP urls
-
getCertificatePdsUrls
This method returns the list of PDS (PKI Disclosure Statements) urls for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the list of PDS urls
-
getCertificateCommonName
This method returns the commonName attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the commonName if available or null
-
getCertificateEmail
This method returns the email attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the email if available or null
-
getCertificateGivenName
This method returns the givenName attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the givenName if available or null
-
getCertificateLocality
This method returns the locality attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the locality if available or null
-
getCertificateState
This method returns the state attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the state if available or null
-
getCertificateCountry
This method returns the country attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the country if available or null
-
getCertificateOrganizationName
This method returns the organizationName attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the organizationName if available or null
-
getCertificateOrganizationUnit
This method returns the organizationUnit attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the organizationUnit if available or null
-
getCertificatePseudonym
This method returns the pseudonym attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the pseudonym if available or null
-
getCertificateSurname
This method returns the surname attribute for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the surname if available or null
-
getCertificateIndication
This method returns theIndication(result of validation) for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the
Indication
-
getCertificateSubIndication
public eu.europa.esig.dss.enumerations.SubIndication getCertificateSubIndication(String certificateId) This method returns theSubIndication(result of validation) for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the
SubIndication
-
getCertificateRevocationDate
This method returns the revocation date for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the revocation date or null
-
getCertificateRevocationReason
public eu.europa.esig.dss.enumerations.RevocationReason getCertificateRevocationReason(String certificateId) This method returns the revocation reason for a given certificate- Parameters:
certificateId- the certificate id- Returns:
- the revocation reason or null
-
getX509ValidationErrors
This method retrieve the ETSI EN 319 102-1 X.509 certificate validation errors for a given certificate by id- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked errors
-
getX509ValidationWarnings
This method retrieve the ETSI EN 319 102-1 X.509 certificate validation warnings for a given certificate by id- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked warning messages
-
getX509ValidationInfo
This method retrieve the ETSI EN 319 102-1 X.509 certificate validation information messages for a given certificate by id- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked information messages
-
getQualificationErrorsAtIssuanceTime
public List<eu.europa.esig.dss.jaxb.object.Message> getQualificationErrorsAtIssuanceTime(String certificateId) This method retrieve the qualification process's errors for a given certificate by id at issuance time- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked errors
-
getQualificationWarningsAtIssuanceTime
public List<eu.europa.esig.dss.jaxb.object.Message> getQualificationWarningsAtIssuanceTime(String certificateId) This method retrieve the qualification process's warnings for a given certificate by id at issuance time- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked warning messages
-
getQualificationInfoAtIssuanceTime
public List<eu.europa.esig.dss.jaxb.object.Message> getQualificationInfoAtIssuanceTime(String certificateId) This method retrieve the qualification process's information messages for a given certificate by id at issuance time- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked information messages
-
getQualificationErrorsAtValidationTime
public List<eu.europa.esig.dss.jaxb.object.Message> getQualificationErrorsAtValidationTime(String certificateId) This method retrieve the qualification process's errors for a given certificate by id at validation time- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked errors
-
getQualificationWarningsAtValidationTime
public List<eu.europa.esig.dss.jaxb.object.Message> getQualificationWarningsAtValidationTime(String certificateId) This method retrieve the qualification process's warnings for a given certificate by id at validation time- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked warning messages
-
getQualificationInfoAtValidationTime
public List<eu.europa.esig.dss.jaxb.object.Message> getQualificationInfoAtValidationTime(String certificateId) This method retrieve the qualification process's information messages for a given certificate by id at validation time- Parameters:
certificateId-Stringcertificate id- Returns:
- the linked information messages
-
getQualificationAtCertificateIssuance
public eu.europa.esig.dss.enumerations.CertificateQualification getQualificationAtCertificateIssuance()This method returns the qualification of the first certificate at its issuance- Returns:
- the qualification at the certificate creation
-
getQualificationAtValidationTime
public eu.europa.esig.dss.enumerations.CertificateQualification getQualificationAtValidationTime()This method returns the qualification of the first certificate at the validation time- Returns:
- the qualification at the validation time
-
getTrustAnchorVATNumbers
This method returns a Set of trust anchor VAT numbers- Returns:
- a Set of VAT numbers
-
getJaxbModel
This methods returns the jaxb model of the simple certificate report- Returns:
- the jaxb model
-