Table of Contents

Interface IKeyBase

Namespace
Yubico.YubiKey.Cryptography
Assembly
Yubico.YubiKey.dll

Defines the base contract for all cryptographic keys, providing key type identification.

public interface IKeyBase

Remarks

This interface serves as the foundation for both public and private key abstractions, enabling polymorphic key type handling across different cryptographic algorithms.

Properties

KeyType

Gets the type of the cryptographic key.

KeyType KeyType { get; }

Property Value

KeyType

A KeyType value indicating the type of the key.