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 nameDescription
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.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also