Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 enum 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:
© 2017 Microsoft