КриптоПро TLS

Функции установления соединения

Функции установления соединения предназначены для инициализации нового соединения или обновления параметров старого.
Функции Описание
SECURITY_STATUS AcceptSecurityContext ( PCredHandle phCredential, PCtxtHandle phContext, PSecBufferDesc pInput, ULONG fContextReq, ULONG TargetDataRep, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry ) Функция AcceptSecurityContext().
SECURITY_STATUS ApplyControlToken ( PCtxtHandle phContext, PSecBufferDesc pInput ) Функция ApplyControlToken().
SECURITY_STATUS DeleteSecurityContext ( PCtxtHandle phContext ) Функция DeleteSecurityContext().
SECURITY_STATUS InitializeSecurityContext ( PCredHandle phCredential, PCtxtHandle phContext, SEC_CHAR *pszTargetName, ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry ) Функция InitializeSecurityContext().
SECURITY_STATUS QueryContextAttributes ( PCtxtHandle phContext, ULONG ulAttribute, PVOID pBuffer ) Функция QueryContextAttributes().
SECURITY_STATUS QuerySecurityContextToken ( PCtxtHandle phContext, HANDLE *phToken ) Функция QuerySecurityContextToken().