System::Security::Cryptography::X509Certificates::X509KeyStorageFlags enum

X509KeyStorageFlags enum

Defines how to store key.

enum class X509KeyStorageFlags : int32_t

Values

NameValueDescription
DefaultKeySet0Use default key set.
UserKeySet1Use user-associated store instead of machine-local one.
MachineKeySet2Use local machine store instead of user one.
Exportable4Marks imported keys as exportable.
UserProtected8Notify user that the key is being used.
PersistKeySet16The key is persisted when importing certificate.

See Also