X25519DiffieHellman.ImportEncryptedPkcs8PrivateKey Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
ImportEncryptedPkcs8PrivateKey(String, Byte[])
- Исходный код:
- X25519DiffieHellman.cs
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportEncryptedPkcs8PrivateKey(System::String ^ password, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(string password, byte[] source);
static member ImportEncryptedPkcs8PrivateKey : string * byte[] -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportEncryptedPkcs8PrivateKey (password As String, source As Byte()) As X25519DiffieHellman
Параметры
- password
- String
- source
- Byte[]
Возвращаемое значение
Применяется к
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- Исходный код:
- X25519DiffieHellman.cs
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<System::Byte> passwordBytes, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source);
static member ImportEncryptedPkcs8PrivateKey : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportEncryptedPkcs8PrivateKey (passwordBytes As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte)) As X25519DiffieHellman
Параметры
- passwordBytes
- ReadOnlySpan<Byte>
- source
- ReadOnlySpan<Byte>
Возвращаемое значение
Применяется к
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)
- Исходный код:
- X25519DiffieHellman.cs
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.X25519DiffieHellman ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source);
static member ImportEncryptedPkcs8PrivateKey : ReadOnlySpan<char> * ReadOnlySpan<byte> -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportEncryptedPkcs8PrivateKey (password As ReadOnlySpan(Of Char), source As ReadOnlySpan(Of Byte)) As X25519DiffieHellman
Параметры
- password
- ReadOnlySpan<Char>
- source
- ReadOnlySpan<Byte>