ECDiffieHellmanCng.ImportPkcs8PrivateKey Metoda

Definicja

Importuje klucz publiczny/prywatny z struktury PKCS#8 PrivateKeyInfo po odszyfrowaniu, zastępując klucze dla tego obiektu.

public:
 override void ImportPkcs8PrivateKey(ReadOnlySpan<System::Byte> source, [Runtime::InteropServices::Out] int % bytesRead);
public override void ImportPkcs8PrivateKey (ReadOnlySpan<byte> source, out int bytesRead);
override this.ImportPkcs8PrivateKey : ReadOnlySpan<byte> * int -> unit
Public Overrides Sub ImportPkcs8PrivateKey (source As ReadOnlySpan(Of Byte), ByRef bytesRead As Integer)

Parametry

source
ReadOnlySpan<Byte>

Bajty struktury PKCS#8 PrivateKeyInfo w kodowaniu ASN.1-BER.

bytesRead
Int32

Gdy ta metoda zwraca wartość, zawiera wartość, która wskazuje liczbę bajtów odczytanych z klasy source. Ten parametr jest traktowany jako niezainicjowany.

Dotyczy