cardano-protocol-tpraos-1.4.0.0: Cardano Protocol: Transitional Praos
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Protocol.TPraos.OCert

Synopsis

Documentation

data OCert c Source #

Constructors

OCert 

Fields

Instances

Instances details
Generic (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Associated Types

type Rep (OCert c) ∷ TypeType #

Methods

fromOCert c → Rep (OCert c) x #

toRep (OCert c) x → OCert c #

Crypto c ⇒ Show (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

showsPrecIntOCert c → ShowS #

showOCert c → String #

showList ∷ [OCert c] → ShowS #

Crypto c ⇒ FromCBOR (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

fromCBORDecoder s (OCert c) Source #

labelProxy (OCert c) → Text Source #

Crypto c ⇒ ToCBOR (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

toCBOROCert c → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (OCert c) → Size Source #

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

Crypto c ⇒ EncCBOR (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

encCBOROCert c → Encoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (OCert c) → Size Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [OCert c] → Size Source #

Crypto c ⇒ DecCBORGroup (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

decCBORGroupDecoder s (OCert c) Source #

Crypto c ⇒ EncCBORGroup (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

encCBORGroupOCert c → Encoding Source #

encodedGroupSizeExpr ∷ (∀ x. EncCBOR x ⇒ Proxy x → Size) → Proxy (OCert c) → Size Source #

listLenOCert c → Word Source #

listLenBoundProxy (OCert c) → Word Source #

Crypto c ⇒ Eq (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

(==)OCert c → OCert c → Bool #

(/=)OCert c → OCert c → Bool #

Crypto c ⇒ NoThunks (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

type Rep (OCert c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

type Rep (OCert c) = D1 ('MetaData "OCert" "Cardano.Protocol.TPraos.OCert" "cardano-protocol-tpraos-1.4.0.0-inplace" 'False) (C1 ('MetaCons "OCert" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ocertVkHot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (VerKeyKES (KES c))) :*: S1 ('MetaSel ('Just "ocertN") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "ocertKESPeriod") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 KESPeriod) :*: S1 ('MetaSel ('Just "ocertSigma") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SignedDSIGN DSIGN (OCertSignable c))))))

data OCertEnv Source #

Instances

Instances details
Show OCertEnv Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

showsPrecIntOCertEnvShowS #

showOCertEnvString #

showList ∷ [OCertEnv] → ShowS #

Eq OCertEnv Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

(==)OCertEnvOCertEnvBool #

(/=)OCertEnvOCertEnvBool #

data OCertSignable c Source #

Signable part of an operational certificate

Constructors

OCertSignable !(VerKeyKES (KES c)) !Word64 !KESPeriod 

Instances

Instances details
Crypto c ⇒ SignableRepresentation (OCertSignable c) Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

ocertToSignableOCert c → OCertSignable c Source #

Extract the signable part of an operational certificate (for verification)

newtype KESPeriod Source #

Constructors

KESPeriod 

Fields

Instances

Instances details
Generic KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Associated Types

type Rep KESPeriodTypeType #

Methods

fromKESPeriodRep KESPeriod x #

toRep KESPeriod x → KESPeriod #

Show KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

showsPrecIntKESPeriodShowS #

showKESPeriodString #

showList ∷ [KESPeriod] → ShowS #

FromCBOR KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

ToCBOR KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

toCBORKESPeriodEncoding Source #

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

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

DecCBOR KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

EncCBOR KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

encCBORKESPeriodEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy KESPeriodSize Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [KESPeriod] → Size Source #

Eq KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Methods

(==)KESPeriodKESPeriodBool #

(/=)KESPeriodKESPeriodBool #

Ord KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

NoThunks KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

type Rep KESPeriod Source # 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

type Rep KESPeriod = D1 ('MetaData "KESPeriod" "Cardano.Protocol.TPraos.OCert" "cardano-protocol-tpraos-1.4.0.0-inplace" 'True) (C1 ('MetaCons "KESPeriod" 'PrefixI 'True) (S1 ('MetaSel ('Just "unKESPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))