SspiEncryptAuthIdentity function (sspi.h)

Encrypts the specified identity structure.

Syntax

SECURITY_STATUS SEC_ENTRY SspiEncryptAuthIdentity(
  PSEC_WINNT_AUTH_IDENTITY_OPAQUE AuthData
);

Parameters

AuthData

On input, the identity structure to encrypt. On output, the encrypted identity structure.

Return value

If the function succeeds, it returns SEC_E_OK.

If the function fails, it returns a nonzero error code.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header sspi.h
Library Secur32.lib
DLL SspiCli.dll