cardano-crypto-wrapper-1.5.1.2: Cryptographic primitives used in Byron era of the Cardano project
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Crypto.Orphans

Orphan instances

FromJSON PublicKey Source # 
Instance details

FromJSON Signature Source # 
Instance details

ToJSON PublicKey Source # 
Instance details

ToJSON Signature Source # 
Instance details

FromCBOR PublicKey Source # 
Instance details

FromCBOR SecretKey Source # 
Instance details

FromCBOR Signature Source # 
Instance details

ToCBOR PublicKey Source # 
Instance details

Methods

toCBORPublicKeyEncoding Source #

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

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

ToCBOR SecretKey Source # 
Instance details

Methods

toCBORSecretKeyEncoding Source #

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

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

ToCBOR Signature Source # 
Instance details

Methods

toCBORSignatureEncoding Source #

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

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

DecCBOR PublicKey Source # 
Instance details

DecCBOR SecretKey Source # 
Instance details

DecCBOR Signature Source # 
Instance details

EncCBOR PublicKey Source # 
Instance details

Methods

encCBORPublicKeyEncoding Source #

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

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

EncCBOR SecretKey Source # 
Instance details

Methods

encCBORSecretKeyEncoding Source #

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

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

EncCBOR Signature Source # 
Instance details

Methods

encCBORSignatureEncoding Source #

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

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