DataProtectionBuilderExtensions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extensions for configuring data protection using an IDataProtectionBuilder.
public ref class DataProtectionBuilderExtensions abstract sealed
public static class DataProtectionBuilderExtensions
type DataProtectionBuilderExtensions = class
Public Module DataProtectionBuilderExtensions
- Inheritance
-
DataProtectionBuilderExtensions
Add |
Registers a IKeyEscrowSink to perform escrow before keys are persisted to storage. |
Add |
Registers a IKeyEscrowSink to perform escrow before keys are persisted to storage. |
Add |
Registers a IKeyEscrowSink to perform escrow before keys are persisted to storage. |
Add |
Configures the key management options for the data protection system. |
Disable |
Configures the data protection system not to generate new keys automatically. |
Persist |
Configures the data protection system to persist keys to the specified directory. This path may be on the local machine or may point to a UNC share. |
Persist |
Configures the data protection system to persist keys to the Windows registry. |
Protect |
Configures keys to be encrypted to a given certificate before being persisted to storage. |
Protect |
Configures keys to be encrypted to a given certificate before being persisted to storage. |
Protect |
Configures keys to be encrypted with Windows DPAPI before being persisted to storage. |
Protect |
Configures keys to be encrypted with Windows DPAPI before being persisted to storage. The encrypted key will only be decryptable by the current Windows user account. |
Protect |
Configures keys to be encrypted with Windows CNG DPAPI before being persisted to storage. |
Protect |
Configures keys to be encrypted with Windows CNG DPAPI before being persisted to storage. The keys will be decryptable by the current Windows user account. |
Set |
Sets the unique name of this application within the data protection system. |
Set |
Sets the default lifetime of keys created by the data protection system. |
Unprotect |
Configures certificates which can be used to decrypt keys loaded from storage. |
Use |
Configures the data protection system to use the specified cryptographic algorithms by default when generating protected payloads. |
Use |
Configures the data protection system to use the specified cryptographic algorithms by default when generating protected payloads. |
Use |
Configures the data protection system to use custom Windows CNG algorithms. This API is intended for advanced scenarios where the developer cannot use the algorithms specified in the EncryptionAlgorithm and ValidationAlgorithm enumerations. |
Use |
Configures the data protection system to use custom Windows CNG algorithms. This API is intended for advanced scenarios where the developer cannot use the algorithms specified in the EncryptionAlgorithm and ValidationAlgorithm enumerations. |
Use |
Configures the data protection system to use custom Windows CNG algorithms. This API is intended for advanced scenarios where the developer cannot use the algorithms specified in the EncryptionAlgorithm and ValidationAlgorithm enumerations. |
Use |
Configures the data protection system to use custom Windows CNG algorithms. This API is intended for advanced scenarios where the developer cannot use the algorithms specified in the EncryptionAlgorithm and ValidationAlgorithm enumerations. |
Use |
Configures the data protection system to use custom algorithms. This API is intended for advanced scenarios where the developer cannot use the algorithms specified in the EncryptionAlgorithm and ValidationAlgorithm enumerations. |
Use |
Configures the data protection system to use custom algorithms. This API is intended for advanced scenarios where the developer cannot use the algorithms specified in the EncryptionAlgorithm and ValidationAlgorithm enumerations. |
Use |
Configures the data protection system to use the EphemeralDataProtectionProvider for data protection services. |