X25519DiffieHellman.ImportPkcs8PrivateKey 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 |
|---|---|
| ImportPkcs8PrivateKey(Byte[]) | |
| ImportPkcs8PrivateKey(ReadOnlySpan<Byte>) |
ImportPkcs8PrivateKey(Byte[])
- Source:
- X25519DiffieHellman.cs
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportPkcs8PrivateKey(cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.X25519DiffieHellman ImportPkcs8PrivateKey(byte[] source);
static member ImportPkcs8PrivateKey : byte[] -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportPkcs8PrivateKey (source As Byte()) As X25519DiffieHellman
Parameters
- source
- Byte[]
Returns
Applies to
ImportPkcs8PrivateKey(ReadOnlySpan<Byte>)
- Source:
- X25519DiffieHellman.cs
public:
static System::Security::Cryptography::X25519DiffieHellman ^ ImportPkcs8PrivateKey(ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.X25519DiffieHellman ImportPkcs8PrivateKey(ReadOnlySpan<byte> source);
static member ImportPkcs8PrivateKey : ReadOnlySpan<byte> -> System.Security.Cryptography.X25519DiffieHellman
Public Shared Function ImportPkcs8PrivateKey (source As ReadOnlySpan(Of Byte)) As X25519DiffieHellman
Parameters
- source
- ReadOnlySpan<Byte>