Skip to content

OnixLabs.Security.Cryptography.IEcdhPublicKey

matthew edited this page May 27, 2026 · 1 revision

IEcdhPublicKey Interface

Defines an EC Diffie-Hellman cryptographic public key.

Namespace OnixLabs.Security.Cryptography
Assembly OnixLabs.Security.Cryptography.dll (NuGet)
Implements IPublicKeyImportable<EcdhPublicKey>, IPublicKeyExportable, IBinaryConvertible

Definition

public interface IEcdhPublicKey :
    IPublicKeyImportable<EcdhPublicKey>,
    IPublicKeyExportable,
    IBinaryConvertible;

Remarks

IEcdhPublicKey is a marker composition: it declares no members beyond those inherited from its base interfaces. An ECDH public key's role is to be exchanged with a peer and passed to IEcdhPrivateKey.DeriveSharedSecret on the private-key side. The interface therefore inherits full import/export capability but exposes no verification operations.

Because IEcdhPublicKey composes IPublicKeyImportable<EcdhPublicKey> and IPublicKeyExportable, any implementation automatically supports:

See Also

ONIXLabs .NET Library


Clone this wiki locally