Record TSessionData

Hierarchy
Methods
Properties

Unit

Declaration

type TSessionData = record

Description

Data related to a session. Mainly meaningful during handshake and making no effect when a connection is established.

Overview

Fields

Public ServerName: string;
Public Flags: TSessionFlags;
Public SSPIFlags: DWORD;
Public SharedCreds: ISharedSessionCreds;
Public SessionCreds: TSessionCreds;
Public TrustedCerts: TTrustedCerts;
Public CertCheckIgnoreFlags: TCertCheckIgnoreFlags;

Description

Fields

Public ServerName: string;

Server name that a session is linked to. Must be non-empty.

Public Flags: TSessionFlags;

Options

Public SSPIFlags: DWORD;

User-defined SSPI-specific flags to use in InitializeSecurityContextW call. Default value SSPI_FLAGS is used if this value is 0. \ Warning: ISC_REQ_ALLOCATE_MEMORY flag is supposed to be always enabled, otherwise correct work is not guaranteed

Public SharedCreds: ISharedSessionCreds;

Pointer to credentials shared between multiple sessions

Public SessionCreds: TSessionCreds;

Non-shared session credentials. It is used if SharedCreds is Nil

Public TrustedCerts: TTrustedCerts;

Pointer to list of trusted certs. The object could be shared or personal to a client but it has to be created and disposed manually. If not empty, auto validation of certs is disabled (sfNoServerVerify is included in Flags property) at first call to DoClientHandshake.

Public CertCheckIgnoreFlags: TCertCheckIgnoreFlags;

Set of cert aspects to ignore when checking manually via CheckServerCert. If not empty, auto validation of certs is disabled (sfNoServerVerify is included in Flags property) at first call to DoClientHandshake.


Generated by PasDoc 0.16.0.