This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.