cardano-crypto-class-2.0.0.0.1: Type classes abstracting over cryptography primitives for Cardano
Safe Haskell None
Language Haskell2010

Cardano.Crypto.DSIGN.Class

Description

Abstract digital signatures.

Synopsis

DSIGN algorithm class

class ( Typeable v, Show ( VerKeyDSIGN v), Eq ( VerKeyDSIGN v), Show ( SignKeyDSIGN v), Show ( SigDSIGN v), Eq ( SigDSIGN v), NoThunks ( SigDSIGN v), NoThunks ( SignKeyDSIGN v), NoThunks ( VerKeyDSIGN v), KnownNat ( SeedSizeDSIGN v), KnownNat ( SizeVerKeyDSIGN v), KnownNat ( SizeSignKeyDSIGN v), KnownNat ( SizeSigDSIGN v)) => DSIGNAlgorithm v where Source #

Instances

Instances details
DSIGNAlgorithm NeverDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

DSIGNAlgorithm Ed448DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

DSIGNAlgorithm EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

DSIGNAlgorithm MockDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

DSIGNAlgorithm SchnorrSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

DSIGNAlgorithm Ed25519DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

seedSizeDSIGN :: forall v proxy. DSIGNAlgorithm v => proxy v -> Word Source #

The upper bound on the Seed size needed by genKeyDSIGN

SignedDSIGN wrapper

newtype SignedDSIGN v a Source #

Constructors

SignedDSIGN ( SigDSIGN v)

Instances

Instances details
DSIGNAlgorithm v => Eq ( SignedDSIGN v a) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

DSIGNAlgorithm v => Show ( SignedDSIGN v a) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Generic ( SignedDSIGN v a) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Associated Types

type Rep ( SignedDSIGN v a) :: Type -> Type Source #

NFData ( SigDSIGN v) => NFData ( SignedDSIGN v a) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

DSIGNAlgorithm v => NoThunks ( SignedDSIGN v a) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

type Rep ( SignedDSIGN v a) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

type Rep ( SignedDSIGN v a) = D1 (' MetaData "SignedDSIGN" "Cardano.Crypto.DSIGN.Class" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignedDSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( SigDSIGN v))))

CBOR encoding and decoding

Encoded Size expresssions