CspProviderFlags Enumeration
TOC
Collapse the table of content
Expand the table of content

CspProviderFlags Enumeration

 

Specifies flags that modify the behavior of the cryptographic service providers (CSP).

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
[FlagsAttribute]
public enum CspProviderFlags

Member nameDescription
CreateEphemeralKey

Create a temporary key that is released when the associated Rivest-Shamir-Adleman (RSA) object is closed. Do not use this flag if you want your key to be independent of the RSA object.

NoFlags

Do not specify any settings.

NoPrompt

Prevent the CSP from displaying any user interface (UI) for this context.

UseArchivableKey

Allow a key to be exported for archival or recovery.

UseDefaultKeyContainer

Use key information from the default key container.

UseExistingKey

Use key information from the current key.

UseMachineKeyStore

Use key information from the computer's key store.

UseNonExportableKey

Use key information that cannot be exported.

UseUserProtectedKey

Notify the user through a dialog box or another method when certain actions are attempting to use a key. This flag is not compatible with the NoPrompt flag.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft