Class CertificateReport
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.report.AbstractReport
br.ufsc.labsec.signature.conformanceVerifier.report.CertificateReport
- All Implemented Interfaces:
ReportElement
-
Field Summary
Fields inherited from class AbstractReport
DATE_TIME_FORMATTER -
Constructor Summary
ConstructorsConstructorDescriptionCertificateReport(X509Certificate certificate, boolean obtainedOnline, Time timeReference, boolean poe, boolean isICPBr, boolean isTrustAnchor, ValidationResult result) CertificateReport(X509Certificate certificate, CertificateReport issuer, boolean obtainedOnline, ValidationResult result) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildElements(ReportBuilder<?, ?> documentBuilder) Constroi os elementos específicos do relatóriobooleanstatic List<CertificateReport> flatten(CertificateReport report) Retorna a tag do elementobooleanbooleanbooleanbooleanbooleanbooleanbooleanisValid()voidsetValidationResult(ValidationResult validationResult) Methods inherited from class AbstractReport
addAllErrorMessages, addErrorMessage, clear, formatDate, generateDocument, generateElement, generateJSON, getErrorMessagesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReportElement
getPluralElementTag
-
Constructor Details
-
CertificateReport
public CertificateReport(X509Certificate certificate, CertificateReport issuer, boolean obtainedOnline, ValidationResult result) -
CertificateReport
public CertificateReport(X509Certificate certificate, boolean obtainedOnline, Time timeReference, boolean poe, boolean isICPBr, boolean isTrustAnchor, ValidationResult result)
-
-
Method Details
-
isValid
public boolean isValid() -
isInvalid
public boolean isInvalid() -
isIndeterminate
public boolean isIndeterminate() -
isRevoked
public boolean isRevoked() -
isExpired
public boolean isExpired() -
isNotValidYet
public boolean isNotValidYet() -
isNotAnchored
public boolean isNotAnchored() -
setValidationResult
-
getCertificate
-
getSubjectName
-
getIssuerName
-
buildElements
Description copied from class:AbstractReportConstroi os elementos específicos do relatório- Specified by:
buildElementsin classAbstractReport- Parameters:
documentBuilder- builder
-
flatten
-
getElementTag
Description copied from interface:ReportElementRetorna a tag do elemento- Returns:
- A tag do elemento
-
certificateIsCA
public boolean certificateIsCA()
-