Class TimeStampReport
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.report.AbstractReport
br.ufsc.labsec.signature.conformanceVerifier.report.SignatureReport
br.ufsc.labsec.signature.conformanceVerifier.report.TimeStampReport
- All Implemented Interfaces:
ReportElement
public class TimeStampReport extends SignatureReport
Esta classe representa o relatório de um carimbo de tempo
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimeStampReport.StampForm
Enumeração das formas de obter o carimboNested classes/interfaces inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.SignatureReport
SignatureReport.AsymmetricCipherValidity, SignatureReport.Conformity, SignatureReport.Form, SignatureReport.SchemaPatternState, SignatureReport.SignatureValidity, SignatureReport.SignerType
-
Field Summary
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.SignatureReport
asymmetricCipher, attributeCertValidity, attributeValidation, certValidity, claimedAttributes, conformity, counterSignatures, errorMessages, extensionsReport, extraReports, hash, hasInvalidUpdates, hasMandatedAttributeExceptions, hasOneIndeterminateTimeStamp, hasOneInvalidTimeStamp, hasOnlyExpiredTimeStamps, hasOptionalAttributeException, hasPossibleInvalidUpdates, hasProhibitedAttributeException, ignoredAttrib, isCompleteReport, isICPBr, messageDigest, objectDictionarySignature, optionalAttrib, present, prohibitedRules, references, requiredAttrib, requiredRules, schema, signatureType, signerCertificate, signerCertificateSelector, signerSubjectName, signingTime, sigPolicyName, stamps, updateVerificationMethod, validation, xPathSignature
-
Constructor Summary
Constructors Constructor Description TimeStampReport()
-
Method Summary
Modifier and Type Method Description void
addValidation(ValidationDataReport validationData)
Adiciona um relatório de validação de CRLs e certificadosprotected void
buildElements(ReportBuilder<?,?> reportBuilder)
Constroi os elementos específicos do relatórioString
getElementTag()
Retorna a tag do elementoString
getTimeReference()
Retorna o horário do carimboString
getTimeStampIdentifier()
Retorna o ID do carimbo de tempoboolean
isCertPathValidForReference()
boolean
isValidReference()
void
setTimeReference(Time timeStampTimeReference)
Atribue o horário do carimbo de tempovoid
setTimeStampIdentifier(String timeStampIdentifier)
Atribue o ID ao carimbo de tempovoid
setTimeStampName(String timeStampName)
Atribue o nome ao carimboMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.SignatureReport
addAttribIgnoredReport, addAttribOptionalReport, addAttribRequiredReport, addAttributeValidation, addAttributeValidation, addClaimedAttributes, addCounterSignatureReport, addExtraAttrReport, addReferences, addTimeStampReport, addValidationSignerCertificate, buildAttributes, buildCertPathElement, buildIntegrity, buildReference, filterPersonalInformationInName, getAllAttributes, getAttributeCertPathValidity, getAttributeValidationReports, getCertPathMessage, getCertPathState, getCertPathValidity, getConformity, getCountryRD, getErrorMessages, getExtensionsReport, getForm, getIgnoredAttrib, getMandatedCertificateInfo, getMessageDigest, getObjectDictionarySignature, getOptionalAttrib, getProhibitedRules, getReferences, getRequiredAttrib, getRequiredRules, getSchemaMessage, getSignaturePolicy, getSignaturePolicyName, getSignatureType, getSignerCertificate, getSignerCertificateSelector, getSignerSubjectName, getSigningTime, getStamps, getUpdateVerificationMethod, getValidation, getValidation, getVerificationPackage, getWarningMessages, getXPathSignature, hasAttributeExceptions, hasMandatedAttributeExceptions, hasOneIndeterminateTimeStamp, hasOneInvalidTimeStamp, hasOptionalAttributeException, hasProhibitedAttributeException, indeterminateDueToPossibleIncrementalUpdate, invalidateDueToIncrementalUpdates, isCertPathInvalid, isCertPathValid, isContainsAllCertificatesNeeded, isHasAttributeExceptions, isHash, isICPBr, isIndeterminateDueToIncrementalUpdates, isInvalid, isInvalidDueToIncrementalUpdates, isNonRepudiable, isPaOidValid, isPresent, isSchemaValid, isValid, makeVerificationPackage, makeVerificationPackage, removeAttributeValidation, setAsymmetricCipher, setAsymmetricCipher, setAttributeCertValidity, setCertificatesRequiredOnSignature, setCertificationPathMessage, setCertValidity, setConformity, setContainsMandatedCertificates, setErrorMessage, setErrorMessage, setExtensionsReport, setForm, setHash, setHasOneIndeterminateTimeStamp, setHasOneInvalidTimeStamp, setICPBr, setMessageDigest, setObjectDictionarySignature, setPaOidValid, setPresenceOfMandatoryInvalidAttributes, setPresenceOfOptionalInvalidAttributes, setPresenceOfProhibitedInvalidAttributes, setPresent, setProhibitedRules, setRequiredRules, setSchema, setSchemaMessage, setSchemaPattern, setSignaturePolicyInstance, setSignaturePolicyName, setSignatureType, setSignerCertificateSelector, setSignerSubjectName, setSigningTime, setUpdateVerificationMethod, setWarningMessage, setWithVerificationPackage, setxPathSignature, validityStatus, with
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.AbstractReport
addAllErrorMessages, addErrorMessage, clear, generateDocument, generateElement, generateJSON
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface br.ufsc.labsec.signature.conformanceVerifier.report.builder.ReportElement
getPluralElementTag
-
Constructor Details
-
TimeStampReport
public TimeStampReport()
-
-
Method Details
-
setTimeStampName
Atribue o nome ao carimbo- Parameters:
timeStampName
- O nome do carimbo
-
addValidation
Adiciona um relatório de validação de CRLs e certificados- Overrides:
addValidation
in classSignatureReport
- Parameters:
validationData
- O relatório de validação de CRLs e certificados
-
buildElements
Description copied from class:AbstractReport
Constroi os elementos específicos do relatório- Overrides:
buildElements
in classSignatureReport
- Parameters:
reportBuilder
- builder
-
getTimeStampIdentifier
Retorna o ID do carimbo de tempo- Returns:
- O ID do carimbo de tempo
-
setTimeStampIdentifier
Atribue o ID ao carimbo de tempo- Parameters:
timeStampIdentifier
- ID do carimbo de tempo
-
getTimeReference
Retorna o horário do carimbo- Returns:
- O horário do carimbo de tempo
-
setTimeReference
Atribue o horário do carimbo de tempo- Parameters:
timeStampTimeReference
- O horário do carimbo de tempo
-
isCertPathValidForReference
public boolean isCertPathValidForReference() -
isValidReference
public boolean isValidReference() -
getElementTag
Description copied from interface:ReportElement
Retorna a tag do elemento- Specified by:
getElementTag
in interfaceReportElement
- Overrides:
getElementTag
in classSignatureReport
- Returns:
- A tag do elemento
-