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