Cardano.Crypto.Orphans
Contents
Methods
parseJSON ∷ Value → Parser PublicKey Source #
parseJSONList ∷ Value → Parser [PublicKey] Source #
omittedField ∷ Maybe PublicKey Source #
parseJSON ∷ Value → Parser Signature Source #
parseJSONList ∷ Value → Parser [Signature] Source #
omittedField ∷ Maybe Signature Source #
toJSON ∷ PublicKey → Value Source #
toEncoding ∷ PublicKey → Encoding Source #
toJSONList ∷ [PublicKey] → Value Source #
toEncodingList ∷ [PublicKey] → Encoding Source #
omitField ∷ PublicKey → Bool Source #
toJSON ∷ Signature → Value Source #
toEncoding ∷ Signature → Encoding Source #
toJSONList ∷ [Signature] → Value Source #
toEncodingList ∷ [Signature] → Encoding Source #
omitField ∷ Signature → Bool Source #
fromCBOR ∷ Decoder s PublicKey Source #
label ∷ Proxy PublicKey → Text Source #
fromCBOR ∷ Decoder s SecretKey Source #
label ∷ Proxy SecretKey → Text Source #
fromCBOR ∷ Decoder s Signature Source #
label ∷ Proxy Signature → Text Source #
toCBOR ∷ PublicKey → Encoding Source #
encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PublicKey → Size Source #
encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PublicKey] → Size Source #
toCBOR ∷ SecretKey → Encoding Source #
encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SecretKey → Size Source #
encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SecretKey] → Size Source #
toCBOR ∷ Signature → Encoding Source #
encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Signature → Size Source #
encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Signature] → Size Source #
decCBOR ∷ Decoder s PublicKey Source #
dropCBOR ∷ Proxy PublicKey → Decoder s () Source #
decCBOR ∷ Decoder s SecretKey Source #
dropCBOR ∷ Proxy SecretKey → Decoder s () Source #
decCBOR ∷ Decoder s Signature Source #
dropCBOR ∷ Proxy Signature → Decoder s () Source #
encCBOR ∷ PublicKey → Encoding Source #
encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy PublicKey → Size Source #
encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [PublicKey] → Size Source #
encCBOR ∷ SecretKey → Encoding Source #
encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy SecretKey → Size Source #
encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [SecretKey] → Size Source #
encCBOR ∷ Signature → Encoding Source #
encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy Signature → Size Source #
encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Signature] → Size Source #