|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
namespace System.Security.Cryptography
{
public sealed partial class X25519DiffieHellmanOpenSsl
{
public partial X25519DiffieHellmanOpenSsl(SafeEvpPKeyHandle pkeyHandle)
{
_ = pkeyHandle;
throw new PlatformNotSupportedException();
}
public partial SafeEvpPKeyHandle DuplicateKeyHandle()
{
Debug.Fail("Caller should have checked platform availability.");
throw new PlatformNotSupportedException();
}
protected override void DeriveRawSecretAgreementCore(X25519DiffieHellman otherParty, Span<byte> destination)
{
Debug.Fail("Caller should have checked platform availability.");
throw new PlatformNotSupportedException();
}
protected override void DeriveRawSecretAgreementCore(ReadOnlySpan<byte> otherPartyPublicKey, Span<byte> destination)
{
Debug.Fail("Caller should have checked platform availability.");
throw new PlatformNotSupportedException();
}
protected override void ExportPrivateKeyCore(Span<byte> destination)
{
Debug.Fail("Caller should have checked platform availability.");
throw new PlatformNotSupportedException();
}
protected override void ExportPublicKeyCore(Span<byte> destination)
{
Debug.Fail("Caller should have checked platform availability.");
throw new PlatformNotSupportedException();
}
protected override bool TryExportPkcs8PrivateKeyCore(Span<byte> destination, out int bytesWritten)
{
Debug.Fail("Caller should have checked platform availability.");
throw new PlatformNotSupportedException();
}
}
}
|