SecPkgContext_Lifespan structure (sspi.h)

The SecPkgContext_Lifespan structure indicates the life span of a security context. The QueryContextAttributes (General) function uses this structure.

Syntax

typedef struct _SecPkgContext_Lifespan {
  TimeStamp tsStart;
  TimeStamp tsExpiry;
} SecPkgContext_Lifespan, *PSecPkgContext_Lifespan;

Members

tsStart

Time at which the context was established.

tsExpiry

Time at which the context will expire.

Remarks

It is recommended that the security package always return these values in local time.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header sspi.h (include Security.h)

See also

QueryContextAttributes