X25519DiffieHellman.ImportFromEncryptedPem 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ImportFromEncryptedPem(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<System::Byte> passwordBytes);
public static System.Security.Cryptography.X25519DiffieHellman ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes);
static member ImportFromEncryptedPem : ReadOnlySpan<char> * ReadOnlySpan<byte> -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportFromEncryptedPem (source As ReadOnlySpan(Of Char), passwordBytes As ReadOnlySpan(Of Byte)) As X25519DiffieHellman
參數
- source
- ReadOnlySpan<Char>
- passwordBytes
- ReadOnlySpan<Byte>
傳回
適用於
ImportFromEncryptedPem(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password);
public static System.Security.Cryptography.X25519DiffieHellman ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password);
static member ImportFromEncryptedPem : ReadOnlySpan<char> * ReadOnlySpan<char> -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportFromEncryptedPem (source As ReadOnlySpan(Of Char), password As ReadOnlySpan(Of Char)) As X25519DiffieHellman
參數
- source
- ReadOnlySpan<Char>
- password
- ReadOnlySpan<Char>
傳回
適用於
ImportFromEncryptedPem(String, Byte[])
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportFromEncryptedPem(System::String ^ source, cli::array <System::Byte> ^ passwordBytes);
public static System.Security.Cryptography.X25519DiffieHellman ImportFromEncryptedPem(string source, byte[] passwordBytes);
static member ImportFromEncryptedPem : string * byte[] -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportFromEncryptedPem (source As String, passwordBytes As Byte()) As X25519DiffieHellman
參數
- source
- String
- passwordBytes
- Byte[]
傳回
適用於
ImportFromEncryptedPem(String, String)
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportFromEncryptedPem(System::String ^ source, System::String ^ password);
public static System.Security.Cryptography.X25519DiffieHellman ImportFromEncryptedPem(string source, string password);
static member ImportFromEncryptedPem : string * string -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportFromEncryptedPem (source As String, password As String) As X25519DiffieHellman
參數
- source
- String
- password
- String