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_C TSisTrustStatus ( )

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_C TSisTrustStatus ( TValidationStatus aValidation,
TRevocationStatus aRevocation,
TTime aResultDate,
TTime aCheckDate
)

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

Parameters

TValidationStatus aValidation The validation status of the certificate chains signing the associated entity.
TRevocationStatus aRevocation The revocation status of the certificate chains signing the associated entity.
TTime aResultDate The date upon which a revocation check was last made without transient errors
TTime aCheckDate The date of the last attempt to check the revocation status.

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalizes the object to a stream

Parameters

RWriteStream & aStream contains the stream to be written.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

initializes the object from a stream

Parameters

RReadStream & aStream in parameter contains the stream read.

IsTrusted()

IMPORT_C TBool IsTrusted ( ) 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)

void SetLastCheckDate ( TTime aDate ) [inline]

sets the date of the last attempt at a revocation check

Parameters

TTime aDate The date of the last attempt at a revocation check.

SetResultDate(TTime)

void SetResultDate ( TTime aDate ) [inline]

sets the date of the last successful revocation check

Parameters

TTime aDate The date of the last successful revocation check.

SetRevocationStatus(TRevocationStatus)

void SetRevocationStatus ( TRevocationStatus aStatus ) [inline]

Sets the revocation status

Parameters

TRevocationStatus aStatus Specifies the certificate revocation status.

SetValidationStatus(TValidationStatus)

void SetValidationStatus ( TValidationStatus aStatus ) [inline]

Sets the validation status

Parameters

TValidationStatus aStatus It 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