X25519DiffieHellman.ImportEncryptedPkcs8PrivateKey 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ImportEncryptedPkcs8PrivateKey(String, Byte[]) | |
| ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) | |
| ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, ReadOnlySpan<Byte>) |
ImportEncryptedPkcs8PrivateKey(String, Byte[])
- Source:
- 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>)
- Source:
- 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>)
- Source:
- 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>