X25519DiffieHellman.ImportPrivateKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ImportPrivateKey(Byte[]) | |
| ImportPrivateKey(ReadOnlySpan<Byte>) |
ImportPrivateKey(Byte[])
- Source:
- X25519DiffieHellman.cs
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
Parameters
- source
- Byte[]
Returns
Applies to
ImportPrivateKey(ReadOnlySpan<Byte>)
- Source:
- X25519DiffieHellman.cs
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
Parameters
- source
- ReadOnlySpan<Byte>