CRED_PROTECTION_TYPE enumeration (wincred.h)

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,
  CredUserProtection,
  CredTrustedProtection,
  CredForSystemProtection
} 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.
CredForSystemProtection

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wincred.h