System.Security.Cryptography.CspProviderFlags Enumeration

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

Syntax

[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum CspProviderFlags

Remarks

On Mono the informations are only used to determine where will be stored the key pair when (and if) it is persisted.

Members

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 CspProviderFlags.NoPrompt flag.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0