ncryptprotect.h header
This header is used by Security and Identity. For more information, see:
ncryptprotect.h contains the following programming interfaces:
Functions
NCryptCloseProtectionDescriptor Zeros and frees a protection descriptor object and releases its handle. |
NCryptCreateProtectionDescriptor Retrieves a handle to a protection descriptor object. |
NCryptGetProtectionDescriptorInfo Retrieves a protection descriptor rule string. |
NCryptProtectSecret Encrypts data to a specified protection descriptor. |
NCryptQueryProtectionDescriptorName Retrieves the protection descriptor rule string associated with a registered descriptor display name. |
NCryptRegisterProtectionDescriptorName Registers the display name and the associated rule string for a protection descriptor. |
NCryptStreamClose Closes a data protection stream object opened by using the NCryptStreamOpenToProtect or NCryptStreamOpenToUnprotect functions. |
NCryptStreamOpenToProtect Opens a stream object that can be used to encrypt large amounts of data to a given protection descriptor. |
NCryptStreamOpenToUnprotect Opens a stream object that can be used to decrypt large amounts of data to the same protection descriptor used for encryption. (NCryptStreamOpenToUnprotect) |
NCryptStreamOpenToUnprotectEx Opens a stream object that can be used to decrypt large amounts of data to the same protection descriptor used for encryption. (NCryptStreamOpenToUnprotectEx) |
NCryptStreamUpdate Encrypts and decrypts blocks of data. |
NCryptUnprotectSecret Decrypts data to a specified protection descriptor. |
Callback functions
PFNCryptStreamOutputCallback Receives encrypted or decrypted data from tasks started by using the NCryptStreamOpenToProtect or NCryptStreamOpenToUnprotect functions. |
Structures
NCRYPT_PROTECT_STREAM_INFO Is used by the NCryptStreamOpenToProtect and NCryptStreamOpenToUnprotect functions to pass blocks of processed data to your application. |