ECDsaCng.ExportEncryptedPkcs8PrivateKey Methode

Definition

Überlädt

Name Beschreibung
ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, PbeParameters)

Exportiert den aktuellen Schlüssel im PKCS#8 EncryptedPrivateKeyInfo-Format mit einem bytebasierten Kennwort.

ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, PbeParameters)

Exportiert den aktuellen Schlüssel im PKCS#8 EncryptedPrivateKeyInfo-Format mit einem zeichenbasierten Kennwort.

ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, PbeParameters)

Exportiert den aktuellen Schlüssel im PKCS#8 EncryptedPrivateKeyInfo-Format mit einem bytebasierten Kennwort.

public:
 override cli::array <System::Byte> ^ ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<System::Byte> passwordBytes, System::Security::Cryptography::PbeParameters ^ pbeParameters);
public override byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters);
override this.ExportEncryptedPkcs8PrivateKey : ReadOnlySpan<byte> * System.Security.Cryptography.PbeParameters -> byte[]
Public Overrides Function ExportEncryptedPkcs8PrivateKey (passwordBytes As ReadOnlySpan(Of Byte), pbeParameters As PbeParameters) As Byte()

Parameter

passwordBytes
ReadOnlySpan<Byte>

Die Bytes, die beim Verschlüsseln des Schlüsselmaterials als Kennwort verwendet werden sollen.

pbeParameters
PbeParameters

Die kennwortbasierten Verschlüsselungsparameter (PBE), die beim Verschlüsseln des Schlüsselmaterials verwendet werden sollen.

Gibt zurück

Byte[]

Ein Bytearray, das die PKCS#8 EncryptedPrivateKeyInfo-Darstellung dieses Schlüssels enthält.

Gilt für:

ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, PbeParameters)

Exportiert den aktuellen Schlüssel im PKCS#8 EncryptedPrivateKeyInfo-Format mit einem zeichenbasierten Kennwort.

public:
 override cli::array <System::Byte> ^ ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, System::Security::Cryptography::PbeParameters ^ pbeParameters);
public override byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters);
override this.ExportEncryptedPkcs8PrivateKey : ReadOnlySpan<char> * System.Security.Cryptography.PbeParameters -> byte[]
Public Overrides Function ExportEncryptedPkcs8PrivateKey (password As ReadOnlySpan(Of Char), pbeParameters As PbeParameters) As Byte()

Parameter

password
ReadOnlySpan<Char>

Das Kennwort, das beim Verschlüsseln des Schlüsselmaterials verwendet werden soll.

pbeParameters
PbeParameters

Die kennwortbasierten Verschlüsselungsparameter (PBE), die beim Verschlüsseln des Schlüsselmaterials verwendet werden sollen.

Gibt zurück

Byte[]

Ein Bytearray, das die PKCS#8 EncryptedPrivateKeyInfo-Darstellung dieses Schlüssels enthält.

Gilt für: