Export (0) Print
Expand All

CRED_PROTECTION_TYPE enumeration

The CRED_PROTECTION_TYPE enumeration specifies the security context in which credentials are encrypted when using the CredProtect function.

Syntax


typedef enum _CRED_PROTECTION_TYPE { 
  CredUnprotected        = 0,
  CredUserProtection     = 1,
  CredTrustedProtection  = 2
} CRED_PROTECTION_TYPE, *PCRED_PROTECTION_TYPE;

Constants

CredUnprotected

The credentials are not encrypted.

CredUserProtection

The credentials are encrypted and can be decrypted only in the security context in which they were encrypted or in the security context of a trusted component.

CredTrustedProtection

The credentials are encrypted and can only be decrypted by a trusted component.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinCred.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft