cardano-crypto-class-2.2.0.0: Type classes abstracting over cryptography primitives for Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

toMessageHashByteStringMaybe 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.

fromMessageHashMessageHashByteString Source #

Turn a MessageHash into its bytes without a length marker.

hashAndPack ∷ ∀ (h ∷ Type). (HashAlgorithm h, SizeHash h ~ SECP256K1_ECDSA_MESSAGE_BYTES) ⇒ Proxy h → ByteStringMessageHash Source #

A helper to use with the HashAlgorithm API, as this can ensure sizing.

data EcdsaSecp256k1DSIGN Source #

Instances

Instances details
DSIGNAlgorithm EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Generic (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SigDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType Source #

Generic (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SignKeyDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType Source #

Generic (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (VerKeyDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType Source #

Show (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NoThunks (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type ContextDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SeedSizeDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SigDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SignKeyDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type Signable EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SizeSigDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SizeSignKeyDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

type SizeVerKeyDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype VerKeyDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

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.2.0.0-inplace" 'True) (C1 ('MetaCons "SigEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_SIGNATURE_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.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_PRIVKEY_BYTES))))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL))))

data family VerKeyDSIGN v ∷ Type Source #

Instances

Instances details
Generic (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (VerKeyDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType Source #

Generic (VerKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (VerKeyDSIGN Ed25519DSIGN) ∷ TypeType Source #

Generic (VerKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Associated Types

type Rep (VerKeyDSIGN Ed448DSIGN) ∷ TypeType Source #

Generic (VerKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Associated Types

type Rep (VerKeyDSIGN MockDSIGN) ∷ TypeType Source #

Generic (VerKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Associated Types

type Rep (VerKeyDSIGN NeverDSIGN) ∷ TypeType Source #

Generic (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (VerKeyDSIGN SchnorrSecp256k1DSIGN) ∷ TypeType Source #

Num (VerKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show (VerKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Show (VerKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Show (VerKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show (VerKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Show (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

FromCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR (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 MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

FromCBOR (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

ToCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR (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 MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ToCBOR (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

DirectDeserialise (VerKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

directDeserialise ∷ (MonadST m, MonadThrow m) ⇒ (Ptr CCharCSize → m ()) → m (VerKeyDSIGN Ed25519DSIGN) Source #

DirectSerialise (VerKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

directSerialise ∷ (MonadST m, MonadThrow m) ⇒ (Ptr CCharCSize → m ()) → VerKeyDSIGN Ed25519DSIGN → m () Source #

NFData (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (VerKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

rnfVerKeyDSIGN Ed25519DSIGN → () Source #

NFData (VerKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

rnfVerKeyDSIGN Ed448DSIGN → () Source #

NFData (VerKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

rnfVerKeyDSIGN MockDSIGN → () Source #

NFData (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Eq (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq (VerKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Eq (VerKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Eq (VerKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Eq (VerKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Eq (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

(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

ByteArrayAccess (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 Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NoThunks (VerKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks (VerKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NoThunks (VerKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

NoThunks (VerKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

newtype VerKeyDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype VerKeyDSIGN Ed25519DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

newtype VerKeyDSIGN Ed448DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

newtype VerKeyDSIGN MockDSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

data VerKeyDSIGN NeverDSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

newtype VerKeyDSIGN SchnorrSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

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.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_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.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyEd25519DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeVerKeyDSIGN Ed25519DSIGN)))))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyEd448DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublicKey)))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyMockDSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
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.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedVerKeyDSIGN" 'PrefixI 'False) (U1TypeType))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeySchnorrSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL))))

data family SignKeyDSIGN v ∷ Type Source #

Instances

Instances details
Generic (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SignKeyDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType Source #

Generic (SignKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (SignKeyDSIGN Ed25519DSIGN) ∷ TypeType Source #

Generic (SignKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Associated Types

type Rep (SignKeyDSIGN Ed448DSIGN) ∷ TypeType Source #

Generic (SignKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Associated Types

type Rep (SignKeyDSIGN MockDSIGN) ∷ TypeType Source #

Generic (SignKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Associated Types

type Rep (SignKeyDSIGN NeverDSIGN) ∷ TypeType Source #

Generic (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (SignKeyDSIGN SchnorrSecp256k1DSIGN) ∷ TypeType Source #

Num (SignKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show (SignKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Show (SignKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Show (SignKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Show (SignKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Show (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

FromCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR (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 MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

FromCBOR (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

ToCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR (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 MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ToCBOR (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (SignKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NFData (SignKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

rnfSignKeyDSIGN Ed448DSIGN → () Source #

NFData (SignKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

rnfSignKeyDSIGN MockDSIGN → () Source #

NFData (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Eq (SignKeyDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq (SignKeyDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Eq (SignKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Eq (SignKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Eq (SignKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Eq (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

(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

ByteArrayAccess (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 Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NoThunks (SignKeyDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks (SignKeyDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NoThunks (SignKeyDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

NoThunks (SignKeyDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

newtype SignKeyDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SignKeyDSIGN Ed25519DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

newtype SignKeyDSIGN Ed448DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

newtype SignKeyDSIGN MockDSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

data SignKeyDSIGN NeverDSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

newtype SignKeyDSIGN SchnorrSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

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.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_PRIVKEY_BYTES))))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyEd25519DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes CRYPTO_SIGN_ED25519_SECRETKEYBYTES))))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyEd448DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SecretKey)))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyMockDSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
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.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedSignKeyDSIGN" 'PrefixI 'False) (U1TypeType))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeySchnorrSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeSignKeyDSIGN SchnorrSecp256k1DSIGN)))))

data family SigDSIGN v ∷ Type Source #

Instances

Instances details
Generic (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SigDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType Source #

Generic (SigDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (SigDSIGN Ed25519DSIGN) ∷ TypeType Source #

Generic (SigDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Associated Types

type Rep (SigDSIGN Ed448DSIGN) ∷ TypeType Source #

Generic (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Associated Types

type Rep (SigDSIGN MockDSIGN) ∷ TypeType Source #

Generic (SigDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Associated Types

type Rep (SigDSIGN NeverDSIGN) ∷ TypeType Source #

Generic (SigDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (SigDSIGN SchnorrSecp256k1DSIGN) ∷ TypeType Source #

Show (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Show (SigDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Show (SigDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Show (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 SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

FromCBOR (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

FromCBOR (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 MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

FromCBOR (SigDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

ToCBOR (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

ToCBOR (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 MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ToCBOR (SigDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

NFData (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

NFData (SigDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

rnfSigDSIGN Ed25519DSIGN → () Source #

NFData (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

rnfSigDSIGN MockDSIGN → () Source #

NFData (SigDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Eq (SigDSIGN EcdsaSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Eq (SigDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Eq (SigDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Eq (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Eq (SigDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Eq (SigDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Ord (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

ByteArrayAccess (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 Ed25519DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

NoThunks (SigDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

NoThunks (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

NoThunks (SigDSIGN NeverDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

NoThunks (SigDSIGN SchnorrSecp256k1DSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

newtype SigDSIGN EcdsaSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

newtype SigDSIGN Ed25519DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

newtype SigDSIGN Ed448DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

data SigDSIGN MockDSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

data SigDSIGN NeverDSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

newtype SigDSIGN SchnorrSecp256k1DSIGN Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

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.2.0.0-inplace" 'True) (C1 ('MetaCons "SigEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_SIGNATURE_BYTES_INTERNAL))))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SigEd25519DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeSigDSIGN Ed25519DSIGN)))))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SigEd448DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Signature)))
type Rep (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

type Rep (SigDSIGN MockDSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.Mock" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "SigMockDSIGN" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Hash ShortHash ())) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))
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.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedSigDSIGN" 'PrefixI 'False) (U1TypeType))
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.2.0.0-inplace" 'True) (C1 ('MetaCons "SigSchnorrSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeSigDSIGN SchnorrSecp256k1DSIGN)))))