Cardano.Crypto.Orphans
Contents
Methods
toJSON :: PublicKey -> Value Source #
toEncoding :: PublicKey -> Encoding Source #
toJSONList :: [ PublicKey ] -> Value Source #
toEncodingList :: [ PublicKey ] -> Encoding Source #
toJSON :: Signature -> Value Source #
toEncoding :: Signature -> Encoding Source #
toJSONList :: [ Signature ] -> Value Source #
toEncodingList :: [ Signature ] -> Encoding Source #
parseJSON :: Value -> Parser PublicKey Source #
parseJSONList :: Value -> Parser [ PublicKey ] Source #
parseJSON :: Value -> Parser Signature Source #
parseJSONList :: Value -> Parser [ Signature ] Source #
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 -> 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 -> 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 :: Decoder s SecretKey Source #
label :: Proxy SecretKey -> Text Source #
fromCBOR :: Decoder s PublicKey Source #
label :: Proxy PublicKey -> Text Source #
fromCBOR :: Decoder s Signature Source #
label :: Proxy Signature -> Text Source #