Export (0) Print
Expand All

CngKey Properties

The CngKey type exposes the following members.

  Name Description
Public property Algorithm Gets the algorithm that is used by the key.
Public property AlgorithmGroup Gets the algorithm group that is used by the key.
Public property ExportPolicy Gets the export policy that is used by the key.
Public property Handle Gets a safe handle that represents a native key (NCRYPT_KEY_HANDLE).
Public property IsEphemeral Gets the persistence state of the key.
Public property IsMachineKey Gets the scope (machine or user) of the key.
Public property KeyName Gets the name of the key.
Public property KeySize Gets the key size in bits.
Public property KeyUsage Gets the cryptographic operations specified by the key.
Public property ParentWindowHandle Gets or sets the window handle (HWND) that should be used for user interface (UI) prompts caused by accessing the key.
Public property Provider Gets the key storage provider (KSP) that manages the key.
Public property ProviderHandle Gets a native handle (an NCRYPT_PROV_HANDLE) to the key storage provider (KSP).
Public property UIPolicy Gets parameters that control the user interface (UI) for accessing the key.
Public property UniqueName Gets the unique name for the key.
Top
Show:
© 2014 Microsoft