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

Cardano.Crypto.DSIGN.EcdsaSecp256k1

Synopsis

Documentation

data MessageHash Source #

As ECDSA signatures on the SECP256k1 curve sign 32-byte hashes, rather than whole messages, we provide a helper (opaque) newtype to ensure that the size of the input for signing and verification is strictly bounded.

Important note

If you are verifying a message using the algorithm provided here, you should hash the message yourself before verifying. Specifically, the sender should give you the message itself to verify, rather than the hash of the message used to compute the signature.

toMessageHash :: ByteString -> Maybe MessageHash Source #

Take a blob of bytes (which is presumed to be a 32-byte hash), verify its length, and package it into a MessageHash if that length is exactly 32.

fromMessageHash :: MessageHash -> ByteString Source #

Turn a MessageHash into its bytes without a length marker.

data EcdsaSecp256k1DSIGN Source #

Instances

Instances details
DSIGNAlgorithm EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SeedSizeDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SizeVerKeyDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SizeSignKeyDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SizeSigDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype VerKeyDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SignKeyDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SigDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type ContextDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Signable EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Rep ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Rep ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "VerKeyEcdsaSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL ))))
type Rep ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Rep ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignKeyEcdsaSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes SECP256K1_ECDSA_PRIVKEY_BYTES ))))
type Rep ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

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

data family VerKeyDSIGN v :: Type Source #

Instances

Instances details
Eq ( VerKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Eq ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Eq ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Eq ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Eq ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Num ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

( TypeError (' Text "Ord not supported for verification keys, use the hash instead") :: Constraint , Eq ( VerKeyDSIGN v)) => Ord ( VerKeyDSIGN v) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Show ( VerKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Show ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Show ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Show ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Generic ( VerKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Generic ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Generic ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Generic ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Generic ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

ToCBOR ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

ToCBOR ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ToCBOR ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

ToCBOR ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

FromCBOR ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

FromCBOR ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

FromCBOR ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

FromCBOR ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NFData ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NFData ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NFData ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

ByteArrayAccess ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks ( VerKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

NoThunks ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NoThunks ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NoThunks ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

data VerKeyDSIGN NeverDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

newtype VerKeyDSIGN Ed448DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

newtype VerKeyDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype VerKeyDSIGN MockDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

newtype VerKeyDSIGN SchnorrSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

newtype VerKeyDSIGN Ed25519DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

type Rep ( VerKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

type Rep ( VerKeyDSIGN NeverDSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.NeverUsed" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' False ) ( C1 (' MetaCons "NeverUsedVerKeyDSIGN" ' PrefixI ' False ) ( U1 :: Type -> Type ))
type Rep ( VerKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

type Rep ( VerKeyDSIGN Ed448DSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.Ed448" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "VerKeyEd448DSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 PublicKey )))
type Rep ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Rep ( VerKeyDSIGN EcdsaSecp256k1DSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "VerKeyEcdsaSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL ))))
type Rep ( VerKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

type Rep ( VerKeyDSIGN MockDSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.Mock" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "VerKeyMockDSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Word64 )))
type Rep ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

type Rep ( VerKeyDSIGN SchnorrSecp256k1DSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.SchnorrSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "VerKeySchnorrSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL ))))
type Rep ( VerKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

type Rep ( VerKeyDSIGN Ed25519DSIGN ) = D1 (' MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.Ed25519" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "VerKeyEd25519DSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes ( SizeVerKeyDSIGN Ed25519DSIGN )))))

data family SignKeyDSIGN v :: Type Source #

Instances

Instances details
Eq ( SignKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Eq ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Eq ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Eq ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Eq ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Num ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

( TypeError (' Text "Ord not supported for signing keys, use the hash instead") :: Constraint , Eq ( SignKeyDSIGN v)) => Ord ( SignKeyDSIGN v) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Show ( SignKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Show ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Show ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Show ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Generic ( SignKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Generic ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Generic ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Generic ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Generic ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

ToCBOR ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

ToCBOR ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ToCBOR ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

ToCBOR ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

FromCBOR ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

FromCBOR ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

FromCBOR ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

FromCBOR ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NFData ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NFData ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NFData ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

ByteArrayAccess ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks ( SignKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

NoThunks ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NoThunks ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NoThunks ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

data SignKeyDSIGN NeverDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

newtype SignKeyDSIGN Ed448DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

newtype SignKeyDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SignKeyDSIGN MockDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

newtype SignKeyDSIGN SchnorrSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

newtype SignKeyDSIGN Ed25519DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

type Rep ( SignKeyDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

type Rep ( SignKeyDSIGN NeverDSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.NeverUsed" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' False ) ( C1 (' MetaCons "NeverUsedSignKeyDSIGN" ' PrefixI ' False ) ( U1 :: Type -> Type ))
type Rep ( SignKeyDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

type Rep ( SignKeyDSIGN Ed448DSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.Ed448" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignKeyEd448DSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 SecretKey )))
type Rep ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Rep ( SignKeyDSIGN EcdsaSecp256k1DSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignKeyEcdsaSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes SECP256K1_ECDSA_PRIVKEY_BYTES ))))
type Rep ( SignKeyDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

type Rep ( SignKeyDSIGN MockDSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.Mock" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignKeyMockDSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Word64 )))
type Rep ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

type Rep ( SignKeyDSIGN SchnorrSecp256k1DSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.SchnorrSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignKeySchnorrSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes ( SizeSignKeyDSIGN SchnorrSecp256k1DSIGN )))))
type Rep ( SignKeyDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

type Rep ( SignKeyDSIGN Ed25519DSIGN ) = D1 (' MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.Ed25519" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SignKeyEd25519DSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes CRYPTO_SIGN_ED25519_SECRETKEYBYTES ))))

data family SigDSIGN v :: Type Source #

Instances

Instances details
Eq ( SigDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Eq ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Eq ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Eq ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Eq ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Ord ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show ( SigDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Show ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Show ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Show ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Generic ( SigDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Generic ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Generic ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Generic ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Generic ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

ToCBOR ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

ToCBOR ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ToCBOR ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

ToCBOR ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

FromCBOR ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

FromCBOR ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

FromCBOR ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

FromCBOR ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NFData ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NFData ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

ByteArrayAccess ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks ( SigDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

NoThunks ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NoThunks ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NoThunks ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

data SigDSIGN NeverDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

newtype SigDSIGN Ed448DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

newtype SigDSIGN EcdsaSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

data SigDSIGN MockDSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

newtype SigDSIGN SchnorrSecp256k1DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

newtype SigDSIGN Ed25519DSIGN Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

type Rep ( SigDSIGN NeverDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

type Rep ( SigDSIGN NeverDSIGN ) = D1 (' MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.NeverUsed" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' False ) ( C1 (' MetaCons "NeverUsedSigDSIGN" ' PrefixI ' False ) ( U1 :: Type -> Type ))
type Rep ( SigDSIGN Ed448DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

type Rep ( SigDSIGN Ed448DSIGN ) = D1 (' MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.Ed448" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SigEd448DSIGN" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Signature )))
type Rep ( SigDSIGN EcdsaSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Rep ( SigDSIGN EcdsaSecp256k1DSIGN ) = D1 (' MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SigEcdsaSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes SECP256K1_ECDSA_SIGNATURE_BYTES_INTERNAL ))))
type Rep ( SigDSIGN MockDSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

type Rep ( SigDSIGN SchnorrSecp256k1DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

type Rep ( SigDSIGN SchnorrSecp256k1DSIGN ) = D1 (' MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.SchnorrSecp256k1" "cardano-crypto-class-2.0.0.0.1-5PqST7yhL1v7PBV5z4tsb9" ' True ) ( C1 (' MetaCons "SigSchnorrSecp256k1" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PinnedSizedBytes ( SizeSigDSIGN SchnorrSecp256k1DSIGN )))))
type Rep ( SigDSIGN Ed25519DSIGN ) Source #
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

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