Swi::TSisTrustStatus Class Reference

class Swi::TSisTrustStatus

TSisTrustStatus provides trust information about the entity with which it is associated.

The trust status comprises of two main elements.

  • a validation status value

  • a revocation status value

The two status values are used to indicate the reason for the trust designation.

In addition there are two date fields, iResultDate and iLastCheckDate. The first is the date upon which a revocation check was last made without transient errors. The second is the date of the last attempt to check the revocation status. Normally these dates will be the same, however if a transient error has occured, then the last attempt value will be more recent than the last result and the revocation status will indicate a transient error.

Note:

This file is persisted as part of the CSisRegistryObject class. For this reason, changes to this class should change the version of the CSisRegistryObject. Beware of unintentional changes to the SisRegistry file format.

Swi::CSisRegistryObject

Constructor & Destructor Documentation

TSisTrustStatus()

IMPORT_CTSisTrustStatus()

Default constructor of TSisTrustStatus class. Constructs an object which contains the trust information of an entity with which it is associated.

TSisTrustStatus(TValidationStatus, TRevocationStatus, TTime, TTime)

IMPORT_CTSisTrustStatus(TValidationStatusaValidation,
TRevocationStatusaRevocation,
TTimeaResultDate,
TTimeaCheckDate
)

Parameterised constructor of TSisTrustStatus class. Constructs an object which contains the trust information of an entity with the specified values.

Parameters

TValidationStatus aValidationThe validation status of the certificate chains signing the associated entity.
TRevocationStatus aRevocationThe revocation status of the certificate chains signing the associated entity.
TTime aResultDateThe date upon which a revocation check was last made without transient errors
TTime aCheckDateThe date of the last attempt to check the revocation status.

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalizes the object to a stream

Parameters

RWriteStream & aStreamcontains the stream to be written.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

initializes the object from a stream

Parameters

RReadStream & aStreamin parameter contains the stream read.

IsTrusted()

IMPORT_C TBoolIsTrusted()const

Used to check the trusted status of the associated entity

LastCheckDate()

TTime LastCheckDate()const [inline]

Gets the last date of a revocation check that was performed

ResultDate()

TTime ResultDate()const [inline]

Finds out the last date of a successful revocation check that was performed.

RevocationStatus()

TRevocationStatus RevocationStatus()const [inline]

Gets the current Revocation status of the certificate chains signing the associated entity.

SetLastCheckDate(TTime)

voidSetLastCheckDate(TTimeaDate)[inline]

sets the date of the last attempt at a revocation check

Parameters

TTime aDateThe date of the last attempt at a revocation check.

SetResultDate(TTime)

voidSetResultDate(TTimeaDate)[inline]

sets the date of the last successful revocation check

Parameters

TTime aDateThe date of the last successful revocation check.

SetRevocationStatus(TRevocationStatus)

voidSetRevocationStatus(TRevocationStatusaStatus)[inline]

Sets the revocation status

Parameters

TRevocationStatus aStatusSpecifies the certificate revocation status.

SetValidationStatus(TValidationStatus)

voidSetValidationStatus(TValidationStatusaStatus)[inline]

Sets the validation status

Parameters

TValidationStatus aStatusIt specifies the certificate validation status.

ValidationStatus()

TValidationStatus ValidationStatus()const [inline]

Gets the current validation status of the certificate chains signing the associated entity.

Member Data Documentation

TTime iLastCheckDate

TTime iLastCheckDate[private]

the last date a revocation check was attempted

TBool iQuarantined

TBool iQuarantined[private]

true if quarantined. Not used currently

TTime iQuarantinedDate

TTime iQuarantinedDate[private]

date entry was quarantined. Not used currently

TTime iResultDate

TTime iResultDate[private]

the last date a successful revocation check was performed

TRevocationStatus iRevocationStatus

TRevocationStatus iRevocationStatus[private]

the results of the last OCSP check

TValidationStatus iValidationStatus

TValidationStatus iValidationStatus[private]

the results of the last validation check