HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulekes-agent-crypto-1.2.0.0Haskell2010

Cardano.KESAgent.Protocols.VersionedProtocol

Versioned protocols have version identifiers associated with them, used for protocol negotiation and verification upon connecting to a KES agent.

  • 3 types
  • 2 classes
  • 3 values
newtypenewtype VersionIdentifier
#

Version identifiers are ByteStrings 32 bytes long (as per VersionIdentifierLength). They are used to uniquely identify a protocol version for the purposes of protocol negotiation (see Cardano.KESAgent.Protocols.VersionHandshake.Protocol).

Instances4Eq, Show, NFData, Pretty
newtypenewtype CryptoName
#

Uniquely identifies a Crypto instance (i.e., a set of cryptographic algorithms to use for KES and OpCert signing). We use these to identify the selected crypto in VersionIdentifiers for protocols that are parametrized over the Crypto instance.

Instances2Eq, Show
  • Eq CryptoNameDefined in kes-agent-crypto-1.2.0.0 · Cardano.KESAgent.Protocols.VersionedProtocol
  • Show CryptoNameDefined in kes-agent-crypto-1.2.0.0 · Cardano.KESAgent.Protocols.VersionedProtocol
classclass NamedCrypto p where
#

Crypto types that have a unique CryptoName associated with them.

Methods

Instances4NamedCrypto