CngExportPolicies Enumeration

 

Specifies the key export policies for a key.

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

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

<FlagsAttribute>
Public Enumeration CngExportPolicies

Member nameDescription
AllowArchiving

The private key can be exported one time for archiving purposes.

AllowExport

The private key can be exported multiple times.

AllowPlaintextArchiving

The private key can be exported one time as plaintext.

AllowPlaintextExport

The private key can be exported multiple times as plaintext.

None

No export policies are established. Key export is allowed without restriction.

This class is used by the ExportPolicy property and the CngKeyCreationParameters class.

.NET Framework
Available since 3.5
Return to top
Show: