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

Cardano.Crypto.VRF.NeverUsed

Synopsis

Documentation

data NeverVRF Source #

VRF not available

The type of keys and certificates is isomorphic to unit, but when actually trying to sign or verify something a runtime exception will be thrown.

Instances

Instances details
VRFAlgorithm NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Generic (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (CertVRF NeverVRF) ∷ TypeType Source #

Generic (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (SignKeyVRF NeverVRF) ∷ TypeType Source #

Generic (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (VerKeyVRF NeverVRF) ∷ TypeType Source #

Show (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Ord (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

data CertVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type ContextVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

data SignKeyVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Signable NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

data VerKeyVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (CertVRF NeverVRF) = D1 ('MetaData "CertVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedCertVRF" 'PrefixI 'False) (U1TypeType))
type Rep (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (SignKeyVRF NeverVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedSignKeyVRF" 'PrefixI 'False) (U1TypeType))
type Rep (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (VerKeyVRF NeverVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedVerKeyVRF" 'PrefixI 'False) (U1TypeType))

data family VerKeyVRF v ∷ Type Source #

Instances

Instances details
Generic (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (VerKeyVRF MockVRF) ∷ TypeType Source #

Generic (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (VerKeyVRF NeverVRF) ∷ TypeType Source #

Generic (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (VerKeyVRF SimpleVRF) ∷ TypeType Source #

Show (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Show (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

FromCBOR (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

FromCBOR (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

ToCBOR (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

ToCBOR (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

NFData (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

rnfVerKeyVRF SimpleVRF → () Source #

Eq (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Eq (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Ord (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

(TypeError ('Text "Ord not supported for verification keys, use the hash instead") ∷ Constraint, Eq (VerKeyVRF v)) ⇒ Ord (VerKeyVRF v) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Class

NoThunks (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

NoThunks (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

newtype VerKeyVRF MockVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

data VerKeyVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

newtype VerKeyVRF SimpleVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

type Rep (VerKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

type Rep (VerKeyVRF MockVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.Mock" "cardano-crypto-class-2.2.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyMockVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type Rep (VerKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (VerKeyVRF NeverVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedVerKeyVRF" 'PrefixI 'False) (U1TypeType))
type Rep (VerKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

data family SignKeyVRF v ∷ Type Source #

Instances

Instances details
Generic (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (SignKeyVRF MockVRF) ∷ TypeType Source #

Generic (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (SignKeyVRF NeverVRF) ∷ TypeType Source #

Generic (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (SignKeyVRF SimpleVRF) ∷ TypeType Source #

Show (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Show (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

FromCBOR (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

FromCBOR (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

ToCBOR (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

ToCBOR (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

NFData (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

rnfSignKeyVRF SimpleVRF → () Source #

Eq (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Eq (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Ord (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

(TypeError ('Text "Ord not supported for signing keys, use the hash instead") ∷ Constraint, Eq (SignKeyVRF v)) ⇒ Ord (SignKeyVRF v) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Class

NoThunks (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

NoThunks (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

newtype SignKeyVRF MockVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

data SignKeyVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

newtype SignKeyVRF SimpleVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

type Rep (SignKeyVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

type Rep (SignKeyVRF MockVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.Mock" "cardano-crypto-class-2.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyMockVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type Rep (SignKeyVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (SignKeyVRF NeverVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedSignKeyVRF" 'PrefixI 'False) (U1TypeType))
type Rep (SignKeyVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

type Rep (SignKeyVRF SimpleVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.Simple" "cardano-crypto-class-2.2.0.0-inplace" 'True) (C1 ('MetaCons "SignKeySimpleVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrivateNumber)))

data family CertVRF v ∷ Type Source #

Instances

Instances details
Generic (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (CertVRF MockVRF) ∷ TypeType Source #

Generic (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (CertVRF NeverVRF) ∷ TypeType Source #

Generic (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (CertVRF SimpleVRF) ∷ TypeType Source #

Show (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Show (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

FromCBOR (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

FromCBOR (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

ToCBOR (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

toCBORCertVRF MockVRFEncoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CertVRF MockVRF) → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CertVRF MockVRF] → Size Source #

ToCBOR (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

NFData (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

rnfCertVRF SimpleVRF → () Source #

Eq (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Eq (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Ord (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Ord (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

NoThunks (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

newtype CertVRF MockVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

data CertVRF NeverVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

data CertVRF SimpleVRF Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple

type Rep (CertVRF MockVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Mock

type Rep (CertVRF MockVRF) = D1 ('MetaData "CertVRF" "Cardano.Crypto.VRF.Mock" "cardano-crypto-class-2.2.0.0-inplace" 'True) (C1 ('MetaCons "CertMockVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type Rep (CertVRF NeverVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (CertVRF NeverVRF) = D1 ('MetaData "CertVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.2.0.0-inplace" 'False) (C1 ('MetaCons "NeverUsedCertVRF" 'PrefixI 'False) (U1TypeType))
type Rep (CertVRF SimpleVRF) Source # 
Instance details

Defined in Cardano.Crypto.VRF.Simple