Udostępnij za pośrednictwem


Pkcs8PrivateKeyInfo.Create(AsymmetricAlgorithm) Metoda

Definicja

Eksportuje określony klucz jako klucz PKCS#8 PrivateKeyInfo i zwraca jego zdekodowana interpretacja.

public:
 static System::Security::Cryptography::Pkcs::Pkcs8PrivateKeyInfo ^ Create(System::Security::Cryptography::AsymmetricAlgorithm ^ privateKey);
public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Create (System.Security.Cryptography.AsymmetricAlgorithm privateKey);
static member Create : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo
Public Shared Function Create (privateKey As AsymmetricAlgorithm) As Pkcs8PrivateKeyInfo

Parametry

privateKey
AsymmetricAlgorithm

Klucz prywatny do reprezentowania w kluczu PKCS#8 PrivateKeyInfo.

Zwraca

Zdekodowana interpretacja wyeksportowanego klucza PKCS#8 PrivateKeyInfo.

Wyjątki

Parametr privateKey to null.

Dotyczy

Zobacz też