CngKey.Create Method

 

Creates a CngKey object that represents a new key.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(CngAlgorithm)

Creates a CngKey object that can be used with the specified algorithm.

System_CAPS_pubmethodSystem_CAPS_staticCreate(CngAlgorithm, String)

Creates a named CngKey object that provides the specified algorithm.

System_CAPS_pubmethodSystem_CAPS_staticCreate(CngAlgorithm, String, CngKeyCreationParameters)

Creates a named CngKey object that provides the specified algorithm, using the supplied key creation parameters.

Return to top
Show: