cardano-crypto-wrapper-1.3.0: Cryptographic primitives used in the Cardano project
Safe HaskellNone
LanguageHaskell2010

Cardano.Crypto.Orphans

Orphan instances

ToJSON PublicKey Source # 
Instance details

ToJSON Signature Source # 
Instance details

FromJSON PublicKey Source # 
Instance details

FromJSON Signature Source # 
Instance details

ToCBOR SecretKey Source # 
Instance details

Methods

toCBOR :: SecretKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy SecretKey -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SecretKey] -> Size Source #

ToCBOR PublicKey Source # 
Instance details

Methods

toCBOR :: PublicKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy PublicKey -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [PublicKey] -> Size Source #

ToCBOR Signature Source # 
Instance details

Methods

toCBOR :: Signature -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy Signature -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Signature] -> Size Source #

FromCBOR SecretKey Source # 
Instance details

FromCBOR PublicKey Source # 
Instance details

FromCBOR Signature Source # 
Instance details