IEcdhPrimitives Interface
Namespace: Yubico.Core.Cryptography Assembly: Yubico.Core.dllAn interface exposing ECDH primitive operations.
C#
public interface IEcdhPrimitives
Methods
Name | Description |
---|---|
ComputeSharedSecret(ECParameters, ReadOnlySpan<Byte>) | Computes a shared secret by producing the ECDH shared point without running it through a KDF. Only the X-coordinate is returned. |
GenerateKeyPair(ECCurve) | Generates a elliptic curve public/private keypair that can be used for ECDH operations. |