{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE KindSignatures #-}
{-# OPTIONS_GHC -Wno-deprecations #-}
module Cardano.Ledger.Keys (
VKey (..),
KeyRole (..),
HasKeyRole (..),
asWitness,
KeyHash (..),
hashKey,
DSIGN,
DSignable,
signedDSIGN,
verifySignedDSIGN,
KeyRoleVRF (..),
VRFVerKeyHash (..),
toVRFVerKeyHash,
fromVRFVerKeyHash,
GenDelegPair (..),
GenDelegs (..),
module Cardano.Ledger.Keys.WitVKey,
module Cardano.Ledger.Keys.Bootstrap,
decodeSignedDSIGN,
encodeSignedDSIGN,
Hash.hashWithSerialiser,
) where
import qualified Cardano.Crypto.Hash as Hash
import Cardano.Ledger.Hashes (
GenDelegPair (..),
GenDelegs (..),
KeyHash (..),
KeyRoleVRF (..),
VRFVerKeyHash (..),
fromVRFVerKeyHash,
hashKey,
toVRFVerKeyHash,
)
import Cardano.Ledger.Keys.Bootstrap
import Cardano.Ledger.Keys.Internal
import Cardano.Ledger.Keys.WitVKey