Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hydra.Tx.Crypto
Description
Hydra multi-signature credentials and cryptographic primitives used to sign and verify snapshots (or any messages) within the Hydra protocol.
We are re-using the Key
interface of 'cardano-api' for a consistent
representation. For example: Cardano credentials are 'VerificationKey
PaymentKey', Hydra credentials are 'VerificationKey HydraKey'.
Currently MultiSignature
interface is only supporting naiive, concatenated
multi-signatures and will change when we adopt aggregated multi-signatures
including aggregate keys.
Synopsis
- class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where
- data VerificationKey keyrole
- data SigningKey keyrole
- getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole
- deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole
- deterministicSigningKeySeedSize :: AsType keyrole -> Word
- verificationKeyHash :: VerificationKey keyrole -> Hash keyrole
- data family Hash keyrole
- data family AsType t
- data family SigningKey keyrole
- data family VerificationKey keyrole
- newtype MultiSignature a = HydraMultiSignature {
- multiSignature :: [Signature a]
- data HydraKey
- newtype Signature a = HydraSignature (SigDSIGN Ed25519DSIGN)
- data Verified
- = Verified
- | FailedKeys { }
- | KeyNumberMismatch
- pattern HydraKeyHash :: Hash Blake2b_256 (VerificationKey HydraKey) -> Hash HydraKey
- pattern AsHydraKey :: AsType HydraKey
- pattern HydraSigningKey :: SignKeyDSIGN Ed25519DSIGN -> SigningKey HydraKey
- pattern HydraVerificationKey :: VerKeyDSIGN Ed25519DSIGN -> VerificationKey HydraKey
- sign :: SignableRepresentation a => SigningKey HydraKey -> a -> Signature a
- toPlutusSignatures :: MultiSignature a -> [Signature]
- aggregate :: [Signature a] -> MultiSignature a
- generateSigningKey :: ByteString -> SigningKey HydraKey
- verify :: SignableRepresentation a => VerificationKey HydraKey -> Signature a -> a -> Bool
- aggregateInOrder :: Ord k => Map k (Signature a) -> [k] -> MultiSignature a
- verifyMultiSignature :: SignableRepresentation a => [VerificationKey HydraKey] -> MultiSignature a -> a -> Verified
Cardano Key interface
class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where #
Methods
getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole #
deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole #
deterministicSigningKeySeedSize :: AsType keyrole -> Word #
verificationKeyHash :: VerificationKey keyrole -> Hash keyrole #
Instances
Hydra specifics
Instances
FromJSON (Hash BlockHeader) | |
Defined in Cardano.Api.Internal.Block Methods parseJSON :: Value -> Parser (Hash BlockHeader) parseJSONList :: Value -> Parser [Hash BlockHeader] omittedField :: Maybe (Hash BlockHeader) | |
FromJSON (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash DRepKey) parseJSONList :: Value -> Parser [Hash DRepKey] omittedField :: Maybe (Hash DRepKey) | |
FromJSON (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash GenesisKey) parseJSONList :: Value -> Parser [Hash GenesisKey] omittedField :: Maybe (Hash GenesisKey) | |
FromJSON (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash PaymentKey) parseJSONList :: Value -> Parser [Hash PaymentKey] omittedField :: Maybe (Hash PaymentKey) | |
FromJSON (Hash StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash StakePoolExtendedKey) parseJSONList :: Value -> Parser [Hash StakePoolExtendedKey] omittedField :: Maybe (Hash StakePoolExtendedKey) | |
FromJSON (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods parseJSON :: Value -> Parser (Hash StakePoolKey) parseJSONList :: Value -> Parser [Hash StakePoolKey] omittedField :: Maybe (Hash StakePoolKey) | |
FromJSON (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods parseJSON :: Value -> Parser (Hash ScriptData) parseJSONList :: Value -> Parser [Hash ScriptData] omittedField :: Maybe (Hash ScriptData) | |
FromJSONKey (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods fromJSONKey :: FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData] | |
ToJSON (Hash BlockHeader) | |
Defined in Cardano.Api.Internal.Block Methods toJSON :: Hash BlockHeader -> Value toEncoding :: Hash BlockHeader -> Encoding toJSONList :: [Hash BlockHeader] -> Value toEncodingList :: [Hash BlockHeader] -> Encoding | |
ToJSON (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash DRepKey -> Value toEncoding :: Hash DRepKey -> Encoding toJSONList :: [Hash DRepKey] -> Value toEncodingList :: [Hash DRepKey] -> Encoding | |
ToJSON (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash GenesisKey -> Value toEncoding :: Hash GenesisKey -> Encoding toJSONList :: [Hash GenesisKey] -> Value toEncodingList :: [Hash GenesisKey] -> Encoding | |
ToJSON (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash PaymentKey -> Value toEncoding :: Hash PaymentKey -> Encoding toJSONList :: [Hash PaymentKey] -> Value toEncodingList :: [Hash PaymentKey] -> Encoding | |
ToJSON (Hash StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash StakePoolExtendedKey -> Value toEncoding :: Hash StakePoolExtendedKey -> Encoding toJSONList :: [Hash StakePoolExtendedKey] -> Value toEncodingList :: [Hash StakePoolExtendedKey] -> Encoding | |
ToJSON (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSON :: Hash StakePoolKey -> Value toEncoding :: Hash StakePoolKey -> Encoding toJSONList :: [Hash StakePoolKey] -> Value toEncodingList :: [Hash StakePoolKey] -> Encoding | |
ToJSON (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods toJSON :: Hash ScriptData -> Value toEncoding :: Hash ScriptData -> Encoding toJSONList :: [Hash ScriptData] -> Value toEncodingList :: [Hash ScriptData] -> Encoding | |
ToJSONKey (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash DRepKey) toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey] | |
ToJSONKey (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash GenesisKey) toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey] | |
ToJSONKey (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash PaymentKey) toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey] | |
ToJSONKey (Hash StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash StakePoolExtendedKey) toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolExtendedKey] | |
ToJSONKey (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey) toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey] | |
ToJSONKey (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods toJSONKey :: ToJSONKeyFunction (Hash ScriptData) toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData] | |
IsString (Hash BlockHeader) | |
Defined in Cardano.Api.Internal.Block Methods fromString :: String -> Hash BlockHeader Source # | |
IsString (Hash GovernancePoll) | |
Defined in Cardano.Api.Internal.Governance.Poll Methods fromString :: String -> Hash GovernancePoll Source # | |
IsString (Hash ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods fromString :: String -> Hash ByronKey Source # | |
IsString (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods fromString :: String -> Hash ByronKeyLegacy Source # | |
IsString (Hash KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods fromString :: String -> Hash KesKey Source # | |
IsString (Hash VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods fromString :: String -> Hash VrfKey Source # | |
IsString (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeColdExtendedKey Source # | |
IsString (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeColdKey Source # | |
IsString (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeHotExtendedKey Source # | |
IsString (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash CommitteeHotKey Source # | |
IsString (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash DRepExtendedKey Source # | |
IsString (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash DRepKey Source # | |
IsString (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisDelegateExtendedKey Source # | |
IsString (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisDelegateKey Source # | |
IsString (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisExtendedKey Source # | |
IsString (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisKey Source # | |
IsString (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash GenesisUTxOKey Source # | |
IsString (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash PaymentExtendedKey Source # | |
IsString (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash PaymentKey Source # | |
IsString (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash StakeExtendedKey Source # | |
IsString (Hash StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash StakeKey Source # | |
IsString (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> Hash StakePoolKey Source # | |
IsString (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods fromString :: String -> Hash ScriptData Source # | |
Show (Hash BlockHeader) | |
Show (Hash DRepMetadata) | |
Show (Hash GovernancePoll) | |
Show (Hash ByronKey) | |
Show (Hash ByronKeyLegacy) | |
Show (Hash KesKey) | |
Show (Hash VrfKey) | |
Show (Hash CommitteeColdExtendedKey) | |
Show (Hash CommitteeColdKey) | |
Show (Hash CommitteeHotExtendedKey) | |
Show (Hash CommitteeHotKey) | |
Show (Hash DRepExtendedKey) | |
Show (Hash DRepKey) | |
Show (Hash GenesisDelegateExtendedKey) | |
Show (Hash GenesisDelegateKey) | |
Show (Hash GenesisExtendedKey) | |
Show (Hash GenesisKey) | |
Show (Hash GenesisUTxOKey) | |
Show (Hash PaymentExtendedKey) | |
Show (Hash PaymentKey) | |
Show (Hash StakeExtendedKey) | |
Show (Hash StakeKey) | |
Show (Hash StakePoolExtendedKey) | |
Show (Hash StakePoolKey) | |
Show (Hash ScriptData) | |
Show (Hash StakePoolMetadata) | |
Show (Hash HydraKey) Source # | |
HasTypeProxy a => HasTypeProxy (Hash a) | |
Defined in Cardano.Api.Internal.Hash Methods proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) | |
SerialiseAsCBOR (Hash ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToCBOR :: Hash ByronKey -> ByteString deserialiseFromCBOR :: AsType (Hash ByronKey) -> ByteString -> Either DecoderError (Hash ByronKey) | |
SerialiseAsCBOR (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToCBOR :: Hash ByronKeyLegacy -> ByteString deserialiseFromCBOR :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either DecoderError (Hash ByronKeyLegacy) | |
SerialiseAsCBOR (Hash KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToCBOR :: Hash KesKey -> ByteString deserialiseFromCBOR :: AsType (Hash KesKey) -> ByteString -> Either DecoderError (Hash KesKey) | |
SerialiseAsCBOR (Hash VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToCBOR :: Hash VrfKey -> ByteString deserialiseFromCBOR :: AsType (Hash VrfKey) -> ByteString -> Either DecoderError (Hash VrfKey) | |
SerialiseAsCBOR (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash CommitteeColdExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeColdExtendedKey) -> ByteString -> Either DecoderError (Hash CommitteeColdExtendedKey) | |
SerialiseAsCBOR (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash CommitteeColdKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeColdKey) -> ByteString -> Either DecoderError (Hash CommitteeColdKey) | |
SerialiseAsCBOR (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash CommitteeHotExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeHotExtendedKey) -> ByteString -> Either DecoderError (Hash CommitteeHotExtendedKey) | |
SerialiseAsCBOR (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash CommitteeHotKey -> ByteString deserialiseFromCBOR :: AsType (Hash CommitteeHotKey) -> ByteString -> Either DecoderError (Hash CommitteeHotKey) | |
SerialiseAsCBOR (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash DRepExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash DRepExtendedKey) -> ByteString -> Either DecoderError (Hash DRepExtendedKey) | |
SerialiseAsCBOR (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash DRepKey -> ByteString deserialiseFromCBOR :: AsType (Hash DRepKey) -> ByteString -> Either DecoderError (Hash DRepKey) | |
SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisDelegateExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisDelegateExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateExtendedKey) | |
SerialiseAsCBOR (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisDelegateKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either DecoderError (Hash GenesisDelegateKey) | |
SerialiseAsCBOR (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either DecoderError (Hash GenesisExtendedKey) | |
SerialiseAsCBOR (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisKey) -> ByteString -> Either DecoderError (Hash GenesisKey) | |
SerialiseAsCBOR (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash GenesisUTxOKey -> ByteString deserialiseFromCBOR :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either DecoderError (Hash GenesisUTxOKey) | |
SerialiseAsCBOR (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash PaymentExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either DecoderError (Hash PaymentExtendedKey) | |
SerialiseAsCBOR (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash PaymentKey -> ByteString deserialiseFromCBOR :: AsType (Hash PaymentKey) -> ByteString -> Either DecoderError (Hash PaymentKey) | |
SerialiseAsCBOR (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash StakeExtendedKey -> ByteString deserialiseFromCBOR :: AsType (Hash StakeExtendedKey) -> ByteString -> Either DecoderError (Hash StakeExtendedKey) | |
SerialiseAsCBOR (Hash StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash StakeKey -> ByteString deserialiseFromCBOR :: AsType (Hash StakeKey) -> ByteString -> Either DecoderError (Hash StakeKey) | |
SerialiseAsCBOR (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: Hash StakePoolKey -> ByteString deserialiseFromCBOR :: AsType (Hash StakePoolKey) -> ByteString -> Either DecoderError (Hash StakePoolKey) | |
SerialiseAsBech32 (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash CommitteeColdKey -> Text bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [Text] | |
SerialiseAsBech32 (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash CommitteeHotKey -> Text bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [Text] | |
SerialiseAsBech32 (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash DRepKey -> Text bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [Text] | |
SerialiseAsBech32 (Hash StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash StakePoolExtendedKey -> Text bech32PrefixesPermitted :: AsType (Hash StakePoolExtendedKey) -> [Text] | |
SerialiseAsBech32 (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: Hash StakePoolKey -> Text bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [Text] | |
SerialiseAsRawBytes (Hash BlockHeader) | |
Defined in Cardano.Api.Internal.Block Methods serialiseToRawBytes :: Hash BlockHeader -> ByteString deserialiseFromRawBytes :: AsType (Hash BlockHeader) -> ByteString -> Either SerialiseAsRawBytesError (Hash BlockHeader) | |
SerialiseAsRawBytes (Hash DRepMetadata) | |
Defined in Cardano.Api.Internal.DRepMetadata Methods serialiseToRawBytes :: Hash DRepMetadata -> ByteString deserialiseFromRawBytes :: AsType (Hash DRepMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepMetadata) | |
SerialiseAsRawBytes (Hash GovernancePoll) | |
Defined in Cardano.Api.Internal.Governance.Poll Methods serialiseToRawBytes :: Hash GovernancePoll -> ByteString deserialiseFromRawBytes :: AsType (Hash GovernancePoll) -> ByteString -> Either SerialiseAsRawBytesError (Hash GovernancePoll) | |
SerialiseAsRawBytes (Hash ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToRawBytes :: Hash ByronKey -> ByteString deserialiseFromRawBytes :: AsType (Hash ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKey) | |
SerialiseAsRawBytes (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToRawBytes :: Hash ByronKeyLegacy -> ByteString deserialiseFromRawBytes :: AsType (Hash ByronKeyLegacy) -> ByteString -> Either SerialiseAsRawBytesError (Hash ByronKeyLegacy) | |
SerialiseAsRawBytes (Hash KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToRawBytes :: Hash KesKey -> ByteString deserialiseFromRawBytes :: AsType (Hash KesKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash KesKey) | |
SerialiseAsRawBytes (Hash VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToRawBytes :: Hash VrfKey -> ByteString deserialiseFromRawBytes :: AsType (Hash VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash VrfKey) | |
SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash CommitteeColdExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeColdExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeColdExtendedKey) | |
SerialiseAsRawBytes (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash CommitteeColdKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeColdKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeColdKey) | |
SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash CommitteeHotExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeHotExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeHotExtendedKey) | |
SerialiseAsRawBytes (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash CommitteeHotKey -> ByteString deserialiseFromRawBytes :: AsType (Hash CommitteeHotKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash CommitteeHotKey) | |
SerialiseAsRawBytes (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash DRepExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepExtendedKey) | |
SerialiseAsRawBytes (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash DRepKey -> ByteString deserialiseFromRawBytes :: AsType (Hash DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash DRepKey) | |
SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash GenesisDelegateExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisDelegateExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisDelegateExtendedKey) | |
SerialiseAsRawBytes (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash GenesisDelegateKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisDelegateKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisDelegateKey) | |
SerialiseAsRawBytes (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash GenesisExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisExtendedKey) | |
SerialiseAsRawBytes (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash GenesisKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisKey) | |
SerialiseAsRawBytes (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash GenesisUTxOKey -> ByteString deserialiseFromRawBytes :: AsType (Hash GenesisUTxOKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash GenesisUTxOKey) | |
SerialiseAsRawBytes (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash PaymentExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash PaymentExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentExtendedKey) | |
SerialiseAsRawBytes (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash PaymentKey -> ByteString deserialiseFromRawBytes :: AsType (Hash PaymentKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash PaymentKey) | |
SerialiseAsRawBytes (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash StakeExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakeExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeExtendedKey) | |
SerialiseAsRawBytes (Hash StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash StakeKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakeKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakeKey) | |
SerialiseAsRawBytes (Hash StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash StakePoolExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakePoolExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolExtendedKey) | |
SerialiseAsRawBytes (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: Hash StakePoolKey -> ByteString deserialiseFromRawBytes :: AsType (Hash StakePoolKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolKey) | |
SerialiseAsRawBytes (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods serialiseToRawBytes :: Hash ScriptData -> ByteString deserialiseFromRawBytes :: AsType (Hash ScriptData) -> ByteString -> Either SerialiseAsRawBytesError (Hash ScriptData) | |
SerialiseAsRawBytes (Hash StakePoolMetadata) | |
Defined in Cardano.Api.Internal.StakePoolMetadata Methods serialiseToRawBytes :: Hash StakePoolMetadata -> ByteString deserialiseFromRawBytes :: AsType (Hash StakePoolMetadata) -> ByteString -> Either SerialiseAsRawBytesError (Hash StakePoolMetadata) | |
SerialiseAsRawBytes (Hash HydraKey) | |
Defined in Hydra.Tx.Crypto Methods serialiseToRawBytes :: Hash HydraKey -> ByteString deserialiseFromRawBytes :: AsType (Hash HydraKey) -> ByteString -> Either SerialiseAsRawBytesError (Hash HydraKey) | |
FromCBOR (Hash ByronKey) | |
FromCBOR (Hash ByronKeyLegacy) | |
FromCBOR (Hash KesKey) | |
FromCBOR (Hash VrfKey) | |
FromCBOR (Hash CommitteeColdExtendedKey) | |
FromCBOR (Hash CommitteeColdKey) | |
FromCBOR (Hash CommitteeHotExtendedKey) | |
FromCBOR (Hash CommitteeHotKey) | |
FromCBOR (Hash DRepExtendedKey) | |
FromCBOR (Hash DRepKey) | |
FromCBOR (Hash GenesisDelegateExtendedKey) | |
FromCBOR (Hash GenesisDelegateKey) | |
FromCBOR (Hash GenesisExtendedKey) | |
FromCBOR (Hash GenesisKey) | |
FromCBOR (Hash GenesisUTxOKey) | |
FromCBOR (Hash PaymentExtendedKey) | |
FromCBOR (Hash PaymentKey) | |
FromCBOR (Hash StakeExtendedKey) | |
FromCBOR (Hash StakeKey) | |
FromCBOR (Hash StakePoolKey) | |
ToCBOR (Hash ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods toCBOR :: Hash ByronKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size | |
ToCBOR (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods toCBOR :: Hash ByronKeyLegacy -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKeyLegacy) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKeyLegacy] -> Size | |
ToCBOR (Hash KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods toCBOR :: Hash KesKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size | |
ToCBOR (Hash VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods toCBOR :: Hash VrfKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size | |
ToCBOR (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash CommitteeColdExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdExtendedKey] -> Size | |
ToCBOR (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash CommitteeColdKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeColdKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeColdKey] -> Size | |
ToCBOR (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash CommitteeHotExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotExtendedKey] -> Size | |
ToCBOR (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash CommitteeHotKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash CommitteeHotKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash CommitteeHotKey] -> Size | |
ToCBOR (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash DRepExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepExtendedKey] -> Size | |
ToCBOR (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash DRepKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepKey] -> Size | |
ToCBOR (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash GenesisDelegateExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateExtendedKey] -> Size | |
ToCBOR (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash GenesisDelegateKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisDelegateKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisDelegateKey] -> Size | |
ToCBOR (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash GenesisExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisExtendedKey] -> Size | |
ToCBOR (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash GenesisKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisKey] -> Size | |
ToCBOR (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash GenesisUTxOKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash GenesisUTxOKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash GenesisUTxOKey] -> Size | |
ToCBOR (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash PaymentExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentExtendedKey] -> Size | |
ToCBOR (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash PaymentKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash PaymentKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash PaymentKey] -> Size | |
ToCBOR (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash StakeExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeExtendedKey] -> Size | |
ToCBOR (Hash StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash StakeKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size | |
ToCBOR (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: Hash StakePoolKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakePoolKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakePoolKey] -> Size | |
Eq (Hash BlockHeader) | |
Eq (Hash DRepMetadata) | |
Eq (Hash GovernancePoll) | |
Eq (Hash ByronKey) | |
Eq (Hash ByronKeyLegacy) | |
Eq (Hash KesKey) | |
Eq (Hash VrfKey) | |
Eq (Hash CommitteeColdExtendedKey) | |
Eq (Hash CommitteeColdKey) | |
Eq (Hash CommitteeHotExtendedKey) | |
Eq (Hash CommitteeHotKey) | |
Eq (Hash DRepExtendedKey) | |
Eq (Hash DRepKey) | |
Eq (Hash GenesisDelegateExtendedKey) | |
Eq (Hash GenesisDelegateKey) | |
Eq (Hash GenesisExtendedKey) | |
Eq (Hash GenesisKey) | |
Eq (Hash GenesisUTxOKey) | |
Eq (Hash PaymentExtendedKey) | |
Eq (Hash PaymentKey) | |
Eq (Hash StakeExtendedKey) | |
Eq (Hash StakeKey) | |
Eq (Hash StakePoolExtendedKey) | |
Eq (Hash StakePoolKey) | |
Eq (Hash ScriptData) | |
Eq (Hash StakePoolMetadata) | |
Eq (Hash HydraKey) Source # | |
Ord (Hash BlockHeader) | |
Defined in Cardano.Api.Internal.Block Methods compare :: Hash BlockHeader -> Hash BlockHeader -> Ordering Source # (<) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (<=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # (>=) :: Hash BlockHeader -> Hash BlockHeader -> Bool Source # max :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # min :: Hash BlockHeader -> Hash BlockHeader -> Hash BlockHeader Source # | |
Ord (Hash GovernancePoll) | |
Defined in Cardano.Api.Internal.Governance.Poll Methods compare :: Hash GovernancePoll -> Hash GovernancePoll -> Ordering Source # (<) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (<=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # (>=) :: Hash GovernancePoll -> Hash GovernancePoll -> Bool Source # max :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # min :: Hash GovernancePoll -> Hash GovernancePoll -> Hash GovernancePoll Source # | |
Ord (Hash ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods compare :: Hash ByronKey -> Hash ByronKey -> Ordering Source # (<) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (<=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>) :: Hash ByronKey -> Hash ByronKey -> Bool Source # (>=) :: Hash ByronKey -> Hash ByronKey -> Bool Source # max :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # min :: Hash ByronKey -> Hash ByronKey -> Hash ByronKey Source # | |
Ord (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods compare :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Ordering Source # (<) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (<=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # (>=) :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Bool Source # max :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # min :: Hash ByronKeyLegacy -> Hash ByronKeyLegacy -> Hash ByronKeyLegacy Source # | |
Ord (Hash KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods compare :: Hash KesKey -> Hash KesKey -> Ordering Source # (<) :: Hash KesKey -> Hash KesKey -> Bool Source # (<=) :: Hash KesKey -> Hash KesKey -> Bool Source # (>) :: Hash KesKey -> Hash KesKey -> Bool Source # (>=) :: Hash KesKey -> Hash KesKey -> Bool Source # | |
Ord (Hash VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods compare :: Hash VrfKey -> Hash VrfKey -> Ordering Source # (<) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (<=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>) :: Hash VrfKey -> Hash VrfKey -> Bool Source # (>=) :: Hash VrfKey -> Hash VrfKey -> Bool Source # | |
Ord (Hash CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Ordering Source # (<) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (<=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # (>=) :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Bool Source # max :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # min :: Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey -> Hash CommitteeColdExtendedKey Source # | |
Ord (Hash CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Ordering Source # (<) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (<=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # (>=) :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Bool Source # max :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # min :: Hash CommitteeColdKey -> Hash CommitteeColdKey -> Hash CommitteeColdKey Source # | |
Ord (Hash CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Ordering Source # (<) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (<=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # (>=) :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Bool Source # max :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # min :: Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey -> Hash CommitteeHotExtendedKey Source # | |
Ord (Hash CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Ordering Source # (<) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (<=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # (>=) :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Bool Source # max :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # min :: Hash CommitteeHotKey -> Hash CommitteeHotKey -> Hash CommitteeHotKey Source # | |
Ord (Hash DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Ordering Source # (<) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (<=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (>) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # (>=) :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Bool Source # max :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source # min :: Hash DRepExtendedKey -> Hash DRepExtendedKey -> Hash DRepExtendedKey Source # | |
Ord (Hash DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash DRepKey -> Hash DRepKey -> Ordering Source # (<) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (<=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>) :: Hash DRepKey -> Hash DRepKey -> Bool Source # (>=) :: Hash DRepKey -> Hash DRepKey -> Bool Source # max :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # min :: Hash DRepKey -> Hash DRepKey -> Hash DRepKey Source # | |
Ord (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Ordering Source # (<) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (<=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # (>=) :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Bool Source # max :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # min :: Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey -> Hash GenesisDelegateExtendedKey Source # | |
Ord (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Ordering Source # (<) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (<=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # (>=) :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Bool Source # max :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # min :: Hash GenesisDelegateKey -> Hash GenesisDelegateKey -> Hash GenesisDelegateKey Source # | |
Ord (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Ordering Source # (<) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (<=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # (>=) :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Bool Source # max :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # min :: Hash GenesisExtendedKey -> Hash GenesisExtendedKey -> Hash GenesisExtendedKey Source # | |
Ord (Hash GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisKey -> Hash GenesisKey -> Ordering Source # (<) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (<=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # (>=) :: Hash GenesisKey -> Hash GenesisKey -> Bool Source # max :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # min :: Hash GenesisKey -> Hash GenesisKey -> Hash GenesisKey Source # | |
Ord (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Ordering Source # (<) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (<=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # (>=) :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Bool Source # max :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # min :: Hash GenesisUTxOKey -> Hash GenesisUTxOKey -> Hash GenesisUTxOKey Source # | |
Ord (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Ordering Source # (<) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (<=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # (>=) :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Bool Source # max :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # min :: Hash PaymentExtendedKey -> Hash PaymentExtendedKey -> Hash PaymentExtendedKey Source # | |
Ord (Hash PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash PaymentKey -> Hash PaymentKey -> Ordering Source # (<) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (<=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # (>=) :: Hash PaymentKey -> Hash PaymentKey -> Bool Source # max :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # min :: Hash PaymentKey -> Hash PaymentKey -> Hash PaymentKey Source # | |
Ord (Hash StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Ordering Source # (<) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (<=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # (>=) :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Bool Source # max :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # min :: Hash StakeExtendedKey -> Hash StakeExtendedKey -> Hash StakeExtendedKey Source # | |
Ord (Hash StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakeKey -> Hash StakeKey -> Ordering Source # (<) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (<=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>) :: Hash StakeKey -> Hash StakeKey -> Bool Source # (>=) :: Hash StakeKey -> Hash StakeKey -> Bool Source # max :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # min :: Hash StakeKey -> Hash StakeKey -> Hash StakeKey Source # | |
Ord (Hash StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Ordering Source # (<) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (<=) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (>) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # (>=) :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Bool Source # max :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey Source # min :: Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey -> Hash StakePoolExtendedKey Source # | |
Ord (Hash StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods compare :: Hash StakePoolKey -> Hash StakePoolKey -> Ordering Source # (<) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (<=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # (>=) :: Hash StakePoolKey -> Hash StakePoolKey -> Bool Source # max :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # min :: Hash StakePoolKey -> Hash StakePoolKey -> Hash StakePoolKey Source # | |
Ord (Hash ScriptData) | |
Defined in Cardano.Api.Internal.ScriptData Methods compare :: Hash ScriptData -> Hash ScriptData -> Ordering Source # (<) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (<=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>) :: Hash ScriptData -> Hash ScriptData -> Bool Source # (>=) :: Hash ScriptData -> Hash ScriptData -> Bool Source # max :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # min :: Hash ScriptData -> Hash ScriptData -> Hash ScriptData Source # | |
Ord (Hash HydraKey) Source # | |
Defined in Hydra.Tx.Crypto Methods compare :: Hash HydraKey -> Hash HydraKey -> Ordering Source # (<) :: Hash HydraKey -> Hash HydraKey -> Bool Source # (<=) :: Hash HydraKey -> Hash HydraKey -> Bool Source # (>) :: Hash HydraKey -> Hash HydraKey -> Bool Source # (>=) :: Hash HydraKey -> Hash HydraKey -> Bool Source # max :: Hash HydraKey -> Hash HydraKey -> Hash HydraKey Source # min :: Hash HydraKey -> Hash HydraKey -> Hash HydraKey Source # | |
newtype Hash BlockHeader | |
Defined in Cardano.Api.Internal.Block | |
newtype Hash DRepMetadata | |
Defined in Cardano.Api.Internal.DRepMetadata | |
newtype Hash GovernancePoll | |
Defined in Cardano.Api.Internal.Governance.Poll | |
newtype Hash ByronKey | |
Defined in Cardano.Api.Internal.Keys.Byron | |
newtype Hash ByronKeyLegacy | |
Defined in Cardano.Api.Internal.Keys.Byron | |
newtype Hash KesKey | |
Defined in Cardano.Api.Internal.Keys.Praos | |
newtype Hash VrfKey | |
Defined in Cardano.Api.Internal.Keys.Praos | |
newtype Hash CommitteeColdExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash CommitteeColdExtendedKey = CommitteeColdExtendedKeyHash {
| |
newtype Hash CommitteeColdKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash CommitteeColdKey = CommitteeColdKeyHash {
| |
newtype Hash CommitteeHotExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash CommitteeHotExtendedKey = CommitteeHotExtendedKeyHash {
| |
newtype Hash CommitteeHotKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash CommitteeHotKey = CommitteeHotKeyHash {
| |
newtype Hash DRepExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash DRepKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash GenesisDelegateExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash {
| |
newtype Hash GenesisDelegateKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash {
| |
newtype Hash GenesisExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash {
| |
newtype Hash GenesisKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash GenesisUTxOKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash PaymentExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash {
| |
newtype Hash PaymentKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash StakeExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash StakeKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash StakePoolExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley newtype Hash StakePoolExtendedKey = StakePoolExtendedKeyHash {
| |
newtype Hash StakePoolKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype Hash ScriptData | |
Defined in Cardano.Api.Internal.ScriptData | |
newtype Hash StakePoolMetadata | |
Defined in Cardano.Api.Internal.StakePoolMetadata | |
newtype Hash HydraKey Source # | Hashes of Hydra keys |
Defined in Hydra.Tx.Crypto | |
data AsType (Hash a) | |
Defined in Cardano.Api.Internal.Hash |
Instances
data family SigningKey keyrole #
Instances
Arbitrary (SigningKey HydraKey) | |
Defined in Hydra.Tx.Crypto | |
IsString (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods fromString :: String -> SigningKey ByronKey Source # | |
IsString (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods fromString :: String -> SigningKey ByronKeyLegacy Source # | |
IsString (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods fromString :: String -> SigningKey KesKey Source # | |
IsString (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods fromString :: String -> SigningKey VrfKey Source # | |
IsString (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey CommitteeColdExtendedKey Source # | |
IsString (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey CommitteeColdKey Source # | |
IsString (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey CommitteeHotExtendedKey Source # | |
IsString (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey CommitteeHotKey Source # | |
IsString (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey DRepExtendedKey Source # | |
IsString (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey DRepKey Source # | |
IsString (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey GenesisDelegateExtendedKey Source # | |
IsString (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey GenesisDelegateKey Source # | |
IsString (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey GenesisExtendedKey Source # | |
IsString (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey GenesisKey Source # | |
IsString (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey GenesisUTxOKey Source # | |
IsString (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey PaymentExtendedKey Source # | |
IsString (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey PaymentKey Source # | |
IsString (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey StakeExtendedKey Source # | |
IsString (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey StakeKey Source # | |
IsString (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey StakePoolExtendedKey Source # | |
IsString (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromString :: String -> SigningKey StakePoolKey Source # | |
IsString (SigningKey HydraKey) Source # | |
Defined in Hydra.Tx.Crypto Methods fromString :: String -> SigningKey HydraKey Source # | |
Show (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron | |
Show (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron | |
Show (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos | |
Show (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos | |
Show (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
Show (SigningKey HydraKey) Source # | |
Defined in Hydra.Tx.Crypto | |
HasTypeProxy a => HasTypeProxy (SigningKey a) | |
Defined in Cardano.Api.Internal.Keys.Class Associated Types data AsType (SigningKey a) # Methods proxyToAsType :: Proxy (SigningKey a) -> AsType (SigningKey a) | |
SerialiseAsCBOR (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToCBOR :: SigningKey ByronKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey ByronKey) -> ByteString -> Either DecoderError (SigningKey ByronKey) | |
SerialiseAsCBOR (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToCBOR :: SigningKey ByronKeyLegacy -> ByteString deserialiseFromCBOR :: AsType (SigningKey ByronKeyLegacy) -> ByteString -> Either DecoderError (SigningKey ByronKeyLegacy) | |
SerialiseAsCBOR (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToCBOR :: SigningKey KesKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey KesKey) -> ByteString -> Either DecoderError (SigningKey KesKey) | |
SerialiseAsCBOR (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToCBOR :: SigningKey VrfKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey VrfKey) -> ByteString -> Either DecoderError (SigningKey VrfKey) | |
SerialiseAsCBOR (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey CommitteeColdExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey CommitteeColdExtendedKey) -> ByteString -> Either DecoderError (SigningKey CommitteeColdExtendedKey) | |
SerialiseAsCBOR (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey CommitteeColdKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey CommitteeColdKey) -> ByteString -> Either DecoderError (SigningKey CommitteeColdKey) | |
SerialiseAsCBOR (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey CommitteeHotExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey CommitteeHotExtendedKey) -> ByteString -> Either DecoderError (SigningKey CommitteeHotExtendedKey) | |
SerialiseAsCBOR (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey CommitteeHotKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey CommitteeHotKey) -> ByteString -> Either DecoderError (SigningKey CommitteeHotKey) | |
SerialiseAsCBOR (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey DRepExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey DRepExtendedKey) -> ByteString -> Either DecoderError (SigningKey DRepExtendedKey) | |
SerialiseAsCBOR (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey DRepKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey DRepKey) -> ByteString -> Either DecoderError (SigningKey DRepKey) | |
SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey GenesisDelegateExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey GenesisDelegateExtendedKey) -> ByteString -> Either DecoderError (SigningKey GenesisDelegateExtendedKey) | |
SerialiseAsCBOR (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey GenesisDelegateKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey GenesisDelegateKey) -> ByteString -> Either DecoderError (SigningKey GenesisDelegateKey) | |
SerialiseAsCBOR (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey GenesisExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey GenesisExtendedKey) -> ByteString -> Either DecoderError (SigningKey GenesisExtendedKey) | |
SerialiseAsCBOR (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey GenesisKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey GenesisKey) -> ByteString -> Either DecoderError (SigningKey GenesisKey) | |
SerialiseAsCBOR (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey GenesisUTxOKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey GenesisUTxOKey) -> ByteString -> Either DecoderError (SigningKey GenesisUTxOKey) | |
SerialiseAsCBOR (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey PaymentExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey PaymentExtendedKey) -> ByteString -> Either DecoderError (SigningKey PaymentExtendedKey) | |
SerialiseAsCBOR (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey PaymentKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey PaymentKey) -> ByteString -> Either DecoderError (SigningKey PaymentKey) | |
SerialiseAsCBOR (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey StakeExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey StakeExtendedKey) -> ByteString -> Either DecoderError (SigningKey StakeExtendedKey) | |
SerialiseAsCBOR (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey StakeKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey StakeKey) -> ByteString -> Either DecoderError (SigningKey StakeKey) | |
SerialiseAsCBOR (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey StakePoolExtendedKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey StakePoolExtendedKey) -> ByteString -> Either DecoderError (SigningKey StakePoolExtendedKey) | |
SerialiseAsCBOR (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToCBOR :: SigningKey StakePoolKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey StakePoolKey) -> ByteString -> Either DecoderError (SigningKey StakePoolKey) | |
SerialiseAsCBOR (SigningKey HydraKey) | |
Defined in Hydra.Tx.Crypto Methods serialiseToCBOR :: SigningKey HydraKey -> ByteString deserialiseFromCBOR :: AsType (SigningKey HydraKey) -> ByteString -> Either DecoderError (SigningKey HydraKey) | |
SerialiseAsBech32 (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods bech32PrefixFor :: SigningKey KesKey -> Text bech32PrefixesPermitted :: AsType (SigningKey KesKey) -> [Text] | |
SerialiseAsBech32 (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods bech32PrefixFor :: SigningKey VrfKey -> Text bech32PrefixesPermitted :: AsType (SigningKey VrfKey) -> [Text] | |
SerialiseAsBech32 (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey CommitteeColdExtendedKey -> Text bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdExtendedKey) -> [Text] | |
SerialiseAsBech32 (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey CommitteeColdKey -> Text bech32PrefixesPermitted :: AsType (SigningKey CommitteeColdKey) -> [Text] | |
SerialiseAsBech32 (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey CommitteeHotExtendedKey -> Text bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotExtendedKey) -> [Text] | |
SerialiseAsBech32 (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey CommitteeHotKey -> Text bech32PrefixesPermitted :: AsType (SigningKey CommitteeHotKey) -> [Text] | |
SerialiseAsBech32 (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey DRepExtendedKey -> Text bech32PrefixesPermitted :: AsType (SigningKey DRepExtendedKey) -> [Text] | |
SerialiseAsBech32 (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey DRepKey -> Text bech32PrefixesPermitted :: AsType (SigningKey DRepKey) -> [Text] | |
SerialiseAsBech32 (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey PaymentExtendedKey -> Text bech32PrefixesPermitted :: AsType (SigningKey PaymentExtendedKey) -> [Text] | |
SerialiseAsBech32 (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey PaymentKey -> Text bech32PrefixesPermitted :: AsType (SigningKey PaymentKey) -> [Text] | |
SerialiseAsBech32 (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey StakeExtendedKey -> Text bech32PrefixesPermitted :: AsType (SigningKey StakeExtendedKey) -> [Text] | |
SerialiseAsBech32 (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey StakeKey -> Text bech32PrefixesPermitted :: AsType (SigningKey StakeKey) -> [Text] | |
SerialiseAsBech32 (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey StakePoolExtendedKey -> Text bech32PrefixesPermitted :: AsType (SigningKey StakePoolExtendedKey) -> [Text] | |
SerialiseAsBech32 (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods bech32PrefixFor :: SigningKey StakePoolKey -> Text bech32PrefixesPermitted :: AsType (SigningKey StakePoolKey) -> [Text] | |
SerialiseAsRawBytes (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToRawBytes :: SigningKey ByronKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey ByronKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey ByronKey) | |
SerialiseAsRawBytes (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods serialiseToRawBytes :: SigningKey ByronKeyLegacy -> ByteString deserialiseFromRawBytes :: AsType (SigningKey ByronKeyLegacy) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey ByronKeyLegacy) | |
SerialiseAsRawBytes (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToRawBytes :: SigningKey KesKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey KesKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey KesKey) | |
SerialiseAsRawBytes (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods serialiseToRawBytes :: SigningKey VrfKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey VrfKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey VrfKey) | |
SerialiseAsRawBytes (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey CommitteeColdExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey CommitteeColdExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey CommitteeColdExtendedKey) | |
SerialiseAsRawBytes (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey CommitteeColdKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey CommitteeColdKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey CommitteeColdKey) | |
SerialiseAsRawBytes (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey CommitteeHotExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey CommitteeHotExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey CommitteeHotExtendedKey) | |
SerialiseAsRawBytes (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey CommitteeHotKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey CommitteeHotKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey CommitteeHotKey) | |
SerialiseAsRawBytes (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey DRepExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey DRepExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey DRepExtendedKey) | |
SerialiseAsRawBytes (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey DRepKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey DRepKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey DRepKey) | |
SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey GenesisDelegateExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey GenesisDelegateExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey GenesisDelegateExtendedKey) | |
SerialiseAsRawBytes (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey GenesisDelegateKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey GenesisDelegateKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey GenesisDelegateKey) | |
SerialiseAsRawBytes (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey GenesisExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey GenesisExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey GenesisExtendedKey) | |
SerialiseAsRawBytes (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey GenesisKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey GenesisKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey GenesisKey) | |
SerialiseAsRawBytes (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey GenesisUTxOKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey GenesisUTxOKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey GenesisUTxOKey) | |
SerialiseAsRawBytes (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey PaymentExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey PaymentExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey PaymentExtendedKey) | |
SerialiseAsRawBytes (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey PaymentKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey PaymentKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey PaymentKey) | |
SerialiseAsRawBytes (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey StakeExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey StakeExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey StakeExtendedKey) | |
SerialiseAsRawBytes (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey StakeKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey StakeKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey StakeKey) | |
SerialiseAsRawBytes (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey StakePoolExtendedKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey StakePoolExtendedKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey StakePoolExtendedKey) | |
SerialiseAsRawBytes (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods serialiseToRawBytes :: SigningKey StakePoolKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey StakePoolKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey StakePoolKey) | |
SerialiseAsRawBytes (SigningKey HydraKey) | |
Defined in Hydra.Tx.Crypto Methods serialiseToRawBytes :: SigningKey HydraKey -> ByteString deserialiseFromRawBytes :: AsType (SigningKey HydraKey) -> ByteString -> Either SerialiseAsRawBytesError (SigningKey HydraKey) | |
HasTextEnvelope (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods textEnvelopeType :: AsType (SigningKey ByronKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey ByronKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods textEnvelopeType :: AsType (SigningKey ByronKeyLegacy) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey ByronKeyLegacy -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods textEnvelopeType :: AsType (SigningKey KesKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey KesKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods textEnvelopeType :: AsType (SigningKey VrfKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey VrfKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey CommitteeColdExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey CommitteeColdExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey CommitteeColdKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey CommitteeColdKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey CommitteeHotExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey CommitteeHotExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey CommitteeHotKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey CommitteeHotKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey DRepExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey DRepExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey DRepKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey DRepKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey GenesisDelegateExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey GenesisDelegateExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey GenesisDelegateKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey GenesisDelegateKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey GenesisExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey GenesisExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey GenesisKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey GenesisKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey GenesisUTxOKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey GenesisUTxOKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey PaymentExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey PaymentExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey PaymentKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey PaymentKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey StakeExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey StakeExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey StakeKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey StakeKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey StakePoolExtendedKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey StakePoolExtendedKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods textEnvelopeType :: AsType (SigningKey StakePoolKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey StakePoolKey -> TextEnvelopeDescr | |
HasTextEnvelope (SigningKey HydraKey) | |
Defined in Hydra.Tx.Crypto Methods textEnvelopeType :: AsType (SigningKey HydraKey) -> TextEnvelopeType textEnvelopeDefaultDescr :: SigningKey HydraKey -> TextEnvelopeDescr | |
FromCBOR (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron | |
FromCBOR (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods fromCBOR :: Decoder s (SigningKey ByronKeyLegacy) label :: Proxy (SigningKey ByronKeyLegacy) -> Text | |
FromCBOR (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos | |
FromCBOR (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos | |
FromCBOR (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey CommitteeColdExtendedKey) label :: Proxy (SigningKey CommitteeColdExtendedKey) -> Text | |
FromCBOR (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey CommitteeColdKey) label :: Proxy (SigningKey CommitteeColdKey) -> Text | |
FromCBOR (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey CommitteeHotExtendedKey) label :: Proxy (SigningKey CommitteeHotExtendedKey) -> Text | |
FromCBOR (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey CommitteeHotKey) label :: Proxy (SigningKey CommitteeHotKey) -> Text | |
FromCBOR (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey DRepExtendedKey) label :: Proxy (SigningKey DRepExtendedKey) -> Text | |
FromCBOR (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
FromCBOR (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateExtendedKey) label :: Proxy (SigningKey GenesisDelegateExtendedKey) -> Text | |
FromCBOR (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateKey) label :: Proxy (SigningKey GenesisDelegateKey) -> Text | |
FromCBOR (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey GenesisExtendedKey) label :: Proxy (SigningKey GenesisExtendedKey) -> Text | |
FromCBOR (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
FromCBOR (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey GenesisUTxOKey) label :: Proxy (SigningKey GenesisUTxOKey) -> Text | |
FromCBOR (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey PaymentExtendedKey) label :: Proxy (SigningKey PaymentExtendedKey) -> Text | |
FromCBOR (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
FromCBOR (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey StakeExtendedKey) label :: Proxy (SigningKey StakeExtendedKey) -> Text | |
FromCBOR (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
FromCBOR (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey StakePoolExtendedKey) label :: Proxy (SigningKey StakePoolExtendedKey) -> Text | |
FromCBOR (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods fromCBOR :: Decoder s (SigningKey StakePoolKey) label :: Proxy (SigningKey StakePoolKey) -> Text | |
FromCBOR (SigningKey HydraKey) | |
Defined in Hydra.Tx.Crypto | |
ToCBOR (SigningKey ByronKey) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods toCBOR :: SigningKey ByronKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKey] -> Size | |
ToCBOR (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.Internal.Keys.Byron Methods toCBOR :: SigningKey ByronKeyLegacy -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey ByronKeyLegacy) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey ByronKeyLegacy] -> Size | |
ToCBOR (SigningKey KesKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods toCBOR :: SigningKey KesKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey KesKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey KesKey] -> Size | |
ToCBOR (SigningKey VrfKey) | |
Defined in Cardano.Api.Internal.Keys.Praos Methods toCBOR :: SigningKey VrfKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey VrfKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey VrfKey] -> Size | |
ToCBOR (SigningKey CommitteeColdExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey CommitteeColdExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdExtendedKey] -> Size | |
ToCBOR (SigningKey CommitteeColdKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey CommitteeColdKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeColdKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeColdKey] -> Size | |
ToCBOR (SigningKey CommitteeHotExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey CommitteeHotExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotExtendedKey] -> Size | |
ToCBOR (SigningKey CommitteeHotKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey CommitteeHotKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey CommitteeHotKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey CommitteeHotKey] -> Size | |
ToCBOR (SigningKey DRepExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey DRepExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey DRepExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey DRepExtendedKey] -> Size | |
ToCBOR (SigningKey DRepKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey DRepKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey DRepKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey DRepKey] -> Size | |
ToCBOR (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey GenesisDelegateExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateExtendedKey] -> Size | |
ToCBOR (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey GenesisDelegateKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisDelegateKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisDelegateKey] -> Size | |
ToCBOR (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey GenesisExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisExtendedKey] -> Size | |
ToCBOR (SigningKey GenesisKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey GenesisKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisKey] -> Size | |
ToCBOR (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey GenesisUTxOKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey GenesisUTxOKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey GenesisUTxOKey] -> Size | |
ToCBOR (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey PaymentExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentExtendedKey] -> Size | |
ToCBOR (SigningKey PaymentKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey PaymentKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey PaymentKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey PaymentKey] -> Size | |
ToCBOR (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey StakeExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeExtendedKey] -> Size | |
ToCBOR (SigningKey StakeKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey StakeKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakeKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakeKey] -> Size | |
ToCBOR (SigningKey StakePoolExtendedKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey StakePoolExtendedKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolExtendedKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolExtendedKey] -> Size | |
ToCBOR (SigningKey StakePoolKey) | |
Defined in Cardano.Api.Internal.Keys.Shelley Methods toCBOR :: SigningKey StakePoolKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey StakePoolKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey StakePoolKey] -> Size | |
ToCBOR (SigningKey HydraKey) | |
Defined in Hydra.Tx.Crypto Methods toCBOR :: SigningKey HydraKey -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SigningKey HydraKey) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SigningKey HydraKey] -> Size | |
Eq (SigningKey HydraKey) Source # | |
Defined in Hydra.Tx.Crypto Methods (==) :: SigningKey HydraKey -> SigningKey HydraKey -> Bool Source # (/=) :: SigningKey HydraKey -> SigningKey HydraKey -> Bool Source # | |
(TypeError ('Text "Ord not supported for signing keys, use the hash instead") :: Constraint) => Ord (SigningKey HydraKey) Source # | |
Defined in Hydra.Tx.Crypto Methods compare :: SigningKey HydraKey -> SigningKey HydraKey -> Ordering Source # (<) :: SigningKey HydraKey -> SigningKey HydraKey -> Bool Source # (<=) :: SigningKey HydraKey -> SigningKey HydraKey -> Bool Source # (>) :: SigningKey HydraKey -> SigningKey HydraKey -> Bool Source # (>=) :: SigningKey HydraKey -> SigningKey HydraKey -> Bool Source # max :: SigningKey HydraKey -> SigningKey HydraKey -> SigningKey HydraKey Source # min :: SigningKey HydraKey -> SigningKey HydraKey -> SigningKey HydraKey Source # | |
newtype SigningKey ByronKey | |
Defined in Cardano.Api.Internal.Keys.Byron | |
newtype SigningKey ByronKeyLegacy | |
Defined in Cardano.Api.Internal.Keys.Byron | |
newtype SigningKey KesKey | |
Defined in Cardano.Api.Internal.Keys.Praos | |
newtype SigningKey VrfKey | |
Defined in Cardano.Api.Internal.Keys.Praos | |
newtype SigningKey CommitteeColdExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey CommitteeColdKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey CommitteeHotExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey CommitteeHotKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey DRepExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey DRepKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey GenesisDelegateExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey GenesisDelegateKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey GenesisExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey GenesisKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey GenesisUTxOKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey PaymentExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey PaymentKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey StakeExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey StakeKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey StakePoolExtendedKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey StakePoolKey | |
Defined in Cardano.Api.Internal.Keys.Shelley | |
newtype SigningKey HydraKey Source # | |
Defined in Hydra.Tx.Crypto | |
data AsType (SigningKey a) | |
Defined in Cardano.Api.Internal.Keys.Class |
data family VerificationKey keyrole #
Instances
newtype MultiSignature a Source #
Naiively aggregated multi-signatures.
Constructors
HydraMultiSignature | |
Fields
|
Instances
Hydra keys (keyrole) which can be used to sign
and verify
messages, as
well as aggregate
multi-signatures.
Instances
Signature of a
, not containing the actual payload.
Constructors
HydraSignature (SigDSIGN Ed25519DSIGN) |
Instances
(Arbitrary a, SignableRepresentation a) => Arbitrary (Signature a) Source # | |
FromJSON a => FromJSON (Signature a) Source # | |
Defined in Hydra.Tx.Crypto Methods parseJSON :: Value -> Parser (Signature a) parseJSONList :: Value -> Parser [Signature a] omittedField :: Maybe (Signature a) | |
ToJSON a => ToJSON (Signature a) Source # | |
Defined in Hydra.Tx.Crypto Methods toJSON :: Signature a -> Value toEncoding :: Signature a -> Encoding toJSONList :: [Signature a] -> Value toEncodingList :: [Signature a] -> Encoding | |
Show (Signature a) Source # | |
(Typeable a, Typeable k) => FromCBOR (Signature a) Source # | |
(Typeable a, Typeable k) => ToCBOR (Signature a) Source # | |
Defined in Hydra.Tx.Crypto Methods toCBOR :: Signature a -> Encoding encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Signature a) -> Size encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Signature a] -> Size | |
Eq (Signature a) Source # | |
Hashable (Signature a) Source # | |
Defined in Hydra.Tx.Crypto |
A result type for multisigs verification providing some information in case of failure.
This type is of course structurally equivalent to `Maybe [VerificationKey HydraKey]` but it's much more explicit.
Constructors
Verified | |
FailedKeys | |
Fields | |
KeyNumberMismatch |
Instances
Generic Verified Source # | |
Show Verified Source # | |
Eq Verified Source # | |
type Rep Verified Source # | |
Defined in Hydra.Tx.Crypto type Rep Verified = D1 ('MetaData "Verified" "Hydra.Tx.Crypto" "hydra-tx-0.22.0-F0GpoikV7lPBPp4VCs3iEf" 'False) (C1 ('MetaCons "Verified" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FailedKeys" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [VerificationKey HydraKey])) :+: C1 ('MetaCons "KeyNumberMismatch" 'PrefixI 'False) (U1 :: Type -> Type))) |
pattern HydraKeyHash :: Hash Blake2b_256 (VerificationKey HydraKey) -> Hash HydraKey Source #
pattern AsHydraKey :: AsType HydraKey Source #
pattern HydraSigningKey :: SignKeyDSIGN Ed25519DSIGN -> SigningKey HydraKey Source #
pattern HydraVerificationKey :: VerKeyDSIGN Ed25519DSIGN -> VerificationKey HydraKey Source #
sign :: SignableRepresentation a => SigningKey HydraKey -> a -> Signature a Source #
Sign some value a
with the provided SigningKey
.
toPlutusSignatures :: MultiSignature a -> [Signature] Source #
aggregate :: [Signature a] -> MultiSignature a Source #
Combine multiple signatures of a
into a 'MultiSignature a'.
generateSigningKey :: ByteString -> SigningKey HydraKey Source #
Create a new SigningKey
from a ByteString
seed. The created keys are
not random and insecure, so don't use this in production code!
verify :: SignableRepresentation a => VerificationKey HydraKey -> Signature a -> a -> Bool Source #
Verify a given 'Signature a' and value a
using provided VerificationKey
.
aggregateInOrder :: Ord k => Map k (Signature a) -> [k] -> MultiSignature a Source #
Like aggregate, but use order of given list of keys instead. FIXME(AB): This function exists solely because the order of signatures matters on-chain, and it should match the order of parties as declared in the initTx. This should disappear once we use a proper multisignature scheme
verifyMultiSignature :: SignableRepresentation a => [VerificationKey HydraKey] -> MultiSignature a -> a -> Verified Source #
Verify a given 'MultiSignature a' and value a
provided a list of
VerificationKey
.
Note that order of keys is relevant and that length of signature and multisignature list needs to be the same.