X25519DiffieHellman.ImportEncryptedPkcs8PrivateKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ImportEncryptedPkcs8PrivateKey(String, Byte[])
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>)
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>)
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>