SspiDecryptAuthIdentity function

Decrypts the specified encrypted credential.

Syntax


SECURITY_STATUS SspiDecryptAuthIdentity(
  _Inout_ PSEC_WINNT_AUTH_IDENTITY_OPAQUE EncryptedAuthData
);

Parameters

EncryptedAuthData [in, out]

On input, a pointer to the encrypted credential structure to be decrypted. On output, a pointer to the decrypted credential 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]

Header

Sspi.h

Library

Secur32.lib

DLL

SspiCli.dll

 

 

Show: