Key set options.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration KeySetOptions |
| C# |
|---|
[FlagsAttribute] public enum KeySetOptions |
Members
| Member name | Description | |
|---|---|---|
| Exportable | Imported keys are marked as exportable. | |
| UserProtected | The user is to be notified through a dialog box or other method when certain attempts to use this key are made. | |
| MachineKeySet | Private keys are stored under the local computer and not under the current user. | |
| UserKeySet | Private keys are stored under the current user and not under the local computer even if the PFX BLOB specifies that they should go into the local computer. | |
| PersistKeySet | Private keys are persisted on disk when importing a certificate | |
| AlwaysCng | Always load the key into CNG key storage provider. Only supported on Windows Vista or higher. | |
| PreferCng | Load the key into CNG key storage provider if possible. Only supported on Windows Vista or higher. |