Safe Haskell | None |
---|---|
Language | Haskell2010 |
BIP32-Ed25519 digital signatures.
Synopsis
- data Ed25519Bip32DSIGN
- data family SigDSIGN v
- data family SignKeyDSIGN v
- data family VerKeyDSIGN v
- xPrvToBytes :: XPrv -> ByteString
- xPrvFromBytes :: ByteString -> Maybe XPrv
Documentation
data Ed25519Bip32DSIGN Source #
Instances
data family SigDSIGN v Source #
Instances
Generic (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32
from :: SigDSIGN Ed25519Bip32DSIGN -> Rep (SigDSIGN Ed25519Bip32DSIGN) x Source # to :: Rep (SigDSIGN Ed25519Bip32DSIGN) x -> SigDSIGN Ed25519Bip32DSIGN Source # | |||||
Generic (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1
from :: SigDSIGN EcdsaSecp256k1DSIGN -> Rep (SigDSIGN EcdsaSecp256k1DSIGN) x Source # to :: Rep (SigDSIGN EcdsaSecp256k1DSIGN) x -> SigDSIGN EcdsaSecp256k1DSIGN Source # | |||||
Generic (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519
from :: SigDSIGN Ed25519DSIGN -> Rep (SigDSIGN Ed25519DSIGN) x Source # to :: Rep (SigDSIGN Ed25519DSIGN) x -> SigDSIGN Ed25519DSIGN Source # | |||||
Generic (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448
from :: SigDSIGN Ed448DSIGN -> Rep (SigDSIGN Ed448DSIGN) x Source # to :: Rep (SigDSIGN Ed448DSIGN) x -> SigDSIGN Ed448DSIGN Source # | |||||
Generic (SigDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock
| |||||
Generic (SigDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed
from :: SigDSIGN NeverDSIGN -> Rep (SigDSIGN NeverDSIGN) x Source # to :: Rep (SigDSIGN NeverDSIGN) x -> SigDSIGN NeverDSIGN Source # | |||||
Generic (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1
| |||||
Show (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
Show (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 | |||||
Show (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 | |||||
Show (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 | |||||
Show (SigDSIGN MockDSIGN) | |||||
Show (SigDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
Show (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
FromCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
FromCBOR (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 | |||||
FromCBOR (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 | |||||
FromCBOR (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 | |||||
FromCBOR (SigDSIGN MockDSIGN) | |||||
FromCBOR (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
ToCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
ToCBOR (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 | |||||
ToCBOR (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 | |||||
ToCBOR (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 | |||||
ToCBOR (SigDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
ToCBOR (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
DSIGNAlgorithm v => DecCBOR (SigDSIGN v) | |||||
DSIGNAlgorithm v => EncCBOR (SigDSIGN v) | |||||
NFData (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 rnf :: SigDSIGN EcdsaSecp256k1DSIGN -> () Source # | |||||
NFData (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 rnf :: SigDSIGN Ed25519DSIGN -> () Source # | |||||
NFData (SigDSIGN MockDSIGN) | |||||
NFData (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 rnf :: SigDSIGN SchnorrSecp256k1DSIGN -> () Source # | |||||
Eq (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
Eq (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 | |||||
Eq (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 (==) :: SigDSIGN Ed25519DSIGN -> SigDSIGN Ed25519DSIGN -> Bool Source # (/=) :: SigDSIGN Ed25519DSIGN -> SigDSIGN Ed25519DSIGN -> Bool Source # | |||||
Eq (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 (==) :: SigDSIGN Ed448DSIGN -> SigDSIGN Ed448DSIGN -> Bool Source # (/=) :: SigDSIGN Ed448DSIGN -> SigDSIGN Ed448DSIGN -> Bool Source # | |||||
Eq (SigDSIGN MockDSIGN) | |||||
Eq (SigDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed (==) :: SigDSIGN NeverDSIGN -> SigDSIGN NeverDSIGN -> Bool Source # (/=) :: SigDSIGN NeverDSIGN -> SigDSIGN NeverDSIGN -> Bool Source # | |||||
Eq (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Ord (SigDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock compare :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> Ordering Source # (<) :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> Bool Source # (<=) :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> Bool Source # (>) :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> Bool Source # (>=) :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> Bool Source # max :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN Source # min :: SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN -> SigDSIGN MockDSIGN Source # | |||||
ByteArrayAccess (SigDSIGN Ed25519Bip32DSIGN) | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 length :: SigDSIGN Ed25519Bip32DSIGN -> Int withByteArray :: SigDSIGN Ed25519Bip32DSIGN -> (Ptr p -> IO a) -> IO a copyByteArrayToPtr :: SigDSIGN Ed25519Bip32DSIGN -> Ptr p -> IO () | |||||
ByteArrayAccess (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 length :: SigDSIGN Ed448DSIGN -> Int withByteArray :: SigDSIGN Ed448DSIGN -> (Ptr p -> IO a) -> IO a copyByteArrayToPtr :: SigDSIGN Ed448DSIGN -> Ptr p -> IO () | |||||
NoThunks (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 noThunks :: Context -> SigDSIGN Ed25519Bip32DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SigDSIGN Ed25519Bip32DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SigDSIGN Ed25519Bip32DSIGN) -> String # | |||||
NoThunks (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 noThunks :: Context -> SigDSIGN EcdsaSecp256k1DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SigDSIGN EcdsaSecp256k1DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SigDSIGN EcdsaSecp256k1DSIGN) -> String # | |||||
NoThunks (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 noThunks :: Context -> SigDSIGN Ed25519DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SigDSIGN Ed25519DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SigDSIGN Ed25519DSIGN) -> String # | |||||
NoThunks (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 noThunks :: Context -> SigDSIGN Ed448DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SigDSIGN Ed448DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SigDSIGN Ed448DSIGN) -> String # | |||||
NoThunks (SigDSIGN MockDSIGN) | |||||
NoThunks (SigDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed noThunks :: Context -> SigDSIGN NeverDSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SigDSIGN NeverDSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SigDSIGN NeverDSIGN) -> String # | |||||
NoThunks (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 noThunks :: Context -> SigDSIGN SchnorrSecp256k1DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SigDSIGN SchnorrSecp256k1DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SigDSIGN SchnorrSecp256k1DSIGN) -> String # | |||||
Condense (SigDSIGN Ed25519DSIGN) | |||||
Defined in Ouroboros.Consensus.Util.Condense | |||||
Condense (SigDSIGN Ed448DSIGN) | |||||
Defined in Ouroboros.Consensus.Util.Condense | |||||
Condense (SigDSIGN MockDSIGN) | |||||
newtype SigDSIGN Ed25519Bip32DSIGN Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
newtype SigDSIGN EcdsaSecp256k1DSIGN | |||||
newtype SigDSIGN Ed25519DSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 | |||||
newtype SigDSIGN Ed448DSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 | |||||
data SigDSIGN MockDSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
data SigDSIGN NeverDSIGN | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
newtype SigDSIGN SchnorrSecp256k1DSIGN | |||||
type Rep (SigDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 type Rep (SigDSIGN Ed25519Bip32DSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Api.Crypto.Ed25519Bip32" "cardano-api-10.3.0.0-inplace" 'True) (C1 ('MetaCons "SigEd25519Bip32DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XSignature))) | |||||
type Rep (SigDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 type Rep (SigDSIGN EcdsaSecp256k1DSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SigEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_SIGNATURE_BYTES_INTERNAL)))) | |||||
type Rep (SigDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 type Rep (SigDSIGN Ed25519DSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.Ed25519" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SigEd25519DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeSigDSIGN Ed25519DSIGN))))) | |||||
type Rep (SigDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 type Rep (SigDSIGN Ed448DSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.Ed448" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SigEd448DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Signature))) | |||||
type Rep (SigDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock type Rep (SigDSIGN MockDSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.Mock" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'False) (C1 ('MetaCons "SigMockDSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Hash ShortHash ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64))) | |||||
type Rep (SigDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
type Rep (SigDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 type Rep (SigDSIGN SchnorrSecp256k1DSIGN) = D1 ('MetaData "SigDSIGN" "Cardano.Crypto.DSIGN.SchnorrSecp256k1" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SigSchnorrSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeSigDSIGN SchnorrSecp256k1DSIGN))))) |
data family SignKeyDSIGN v Source #
Instances
Generic (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32
| |||||
Generic (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1
| |||||
Generic (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519
from :: SignKeyDSIGN Ed25519DSIGN -> Rep (SignKeyDSIGN Ed25519DSIGN) x Source # to :: Rep (SignKeyDSIGN Ed25519DSIGN) x -> SignKeyDSIGN Ed25519DSIGN Source # | |||||
Generic (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448
from :: SignKeyDSIGN Ed448DSIGN -> Rep (SignKeyDSIGN Ed448DSIGN) x Source # to :: Rep (SignKeyDSIGN Ed448DSIGN) x -> SignKeyDSIGN Ed448DSIGN Source # | |||||
Generic (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock
from :: SignKeyDSIGN MockDSIGN -> Rep (SignKeyDSIGN MockDSIGN) x Source # to :: Rep (SignKeyDSIGN MockDSIGN) x -> SignKeyDSIGN MockDSIGN Source # | |||||
Generic (SignKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed
from :: SignKeyDSIGN NeverDSIGN -> Rep (SignKeyDSIGN NeverDSIGN) x Source # to :: Rep (SignKeyDSIGN NeverDSIGN) x -> SignKeyDSIGN NeverDSIGN Source # | |||||
Generic (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1
| |||||
Num (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock (+) :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN Source # (-) :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN Source # (*) :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN Source # negate :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN Source # abs :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN Source # signum :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN Source # | |||||
Show (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 showsPrec :: Int -> SignKeyDSIGN Ed25519Bip32DSIGN -> ShowS Source # show :: SignKeyDSIGN Ed25519Bip32DSIGN -> String Source # showList :: [SignKeyDSIGN Ed25519Bip32DSIGN] -> ShowS Source # | |||||
Show (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 showsPrec :: Int -> SignKeyDSIGN EcdsaSecp256k1DSIGN -> ShowS Source # show :: SignKeyDSIGN EcdsaSecp256k1DSIGN -> String Source # showList :: [SignKeyDSIGN EcdsaSecp256k1DSIGN] -> ShowS Source # | |||||
Show (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 showsPrec :: Int -> SignKeyDSIGN Ed25519DSIGN -> ShowS Source # show :: SignKeyDSIGN Ed25519DSIGN -> String Source # showList :: [SignKeyDSIGN Ed25519DSIGN] -> ShowS Source # | |||||
Show (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 showsPrec :: Int -> SignKeyDSIGN Ed448DSIGN -> ShowS Source # show :: SignKeyDSIGN Ed448DSIGN -> String Source # showList :: [SignKeyDSIGN Ed448DSIGN] -> ShowS Source # | |||||
Show (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
Show (SignKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed showsPrec :: Int -> SignKeyDSIGN NeverDSIGN -> ShowS Source # show :: SignKeyDSIGN NeverDSIGN -> String Source # showList :: [SignKeyDSIGN NeverDSIGN] -> ShowS Source # | |||||
Show (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
FromCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 fromCBOR :: Decoder s (SignKeyDSIGN Ed25519Bip32DSIGN) Source # label :: Proxy (SignKeyDSIGN Ed25519Bip32DSIGN) -> Text Source # | |||||
FromCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 | |||||
FromCBOR (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 fromCBOR :: Decoder s (SignKeyDSIGN Ed25519DSIGN) Source # label :: Proxy (SignKeyDSIGN Ed25519DSIGN) -> Text Source # | |||||
FromCBOR (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 fromCBOR :: Decoder s (SignKeyDSIGN Ed448DSIGN) Source # label :: Proxy (SignKeyDSIGN Ed448DSIGN) -> Text Source # | |||||
FromCBOR (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
FromCBOR (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
ToCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 toCBOR :: SignKeyDSIGN Ed25519Bip32DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN Ed25519Bip32DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN Ed25519Bip32DSIGN] -> Size Source # | |||||
ToCBOR (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 toCBOR :: SignKeyDSIGN EcdsaSecp256k1DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN EcdsaSecp256k1DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN EcdsaSecp256k1DSIGN] -> Size Source # | |||||
ToCBOR (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 toCBOR :: SignKeyDSIGN Ed25519DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN Ed25519DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN Ed25519DSIGN] -> Size Source # | |||||
ToCBOR (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 toCBOR :: SignKeyDSIGN Ed448DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN Ed448DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN Ed448DSIGN] -> Size Source # | |||||
ToCBOR (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
ToCBOR (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 toCBOR :: SignKeyDSIGN SchnorrSecp256k1DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN SchnorrSecp256k1DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN SchnorrSecp256k1DSIGN] -> Size Source # | |||||
DSIGNAlgorithm v => DecCBOR (SignKeyDSIGN v) | |||||
Defined in Cardano.Ledger.Binary.Decoding.DecCBOR | |||||
DSIGNAlgorithm v => EncCBOR (SignKeyDSIGN v) | |||||
Defined in Cardano.Ledger.Binary.Encoding.EncCBOR encCBOR :: SignKeyDSIGN v -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (SignKeyDSIGN v) -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [SignKeyDSIGN v] -> Size Source # | |||||
NFData (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 rnf :: SignKeyDSIGN Ed25519Bip32DSIGN -> () Source # | |||||
NFData (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 rnf :: SignKeyDSIGN EcdsaSecp256k1DSIGN -> () Source # | |||||
NFData (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 rnf :: SignKeyDSIGN Ed25519DSIGN -> () Source # | |||||
NFData (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 rnf :: SignKeyDSIGN Ed448DSIGN -> () Source # | |||||
NFData (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock rnf :: SignKeyDSIGN MockDSIGN -> () Source # | |||||
NFData (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 rnf :: SignKeyDSIGN SchnorrSecp256k1DSIGN -> () Source # | |||||
Eq (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Eq (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 (==) :: SignKeyDSIGN Ed25519DSIGN -> SignKeyDSIGN Ed25519DSIGN -> Bool Source # (/=) :: SignKeyDSIGN Ed25519DSIGN -> SignKeyDSIGN Ed25519DSIGN -> Bool Source # | |||||
Eq (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 (==) :: SignKeyDSIGN Ed448DSIGN -> SignKeyDSIGN Ed448DSIGN -> Bool Source # (/=) :: SignKeyDSIGN Ed448DSIGN -> SignKeyDSIGN Ed448DSIGN -> Bool Source # | |||||
Eq (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock (==) :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN -> Bool Source # (/=) :: SignKeyDSIGN MockDSIGN -> SignKeyDSIGN MockDSIGN -> Bool Source # | |||||
Eq (SignKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed (==) :: SignKeyDSIGN NeverDSIGN -> SignKeyDSIGN NeverDSIGN -> Bool Source # (/=) :: SignKeyDSIGN NeverDSIGN -> SignKeyDSIGN NeverDSIGN -> Bool Source # | |||||
Eq (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
(TypeError ('Text "Ord not supported for signing keys, use the hash instead") :: Constraint, Eq (SignKeyDSIGN v)) => Ord (SignKeyDSIGN v) | |||||
Defined in Cardano.Crypto.DSIGN.Class compare :: SignKeyDSIGN v -> SignKeyDSIGN v -> Ordering Source # (<) :: SignKeyDSIGN v -> SignKeyDSIGN v -> Bool Source # (<=) :: SignKeyDSIGN v -> SignKeyDSIGN v -> Bool Source # (>) :: SignKeyDSIGN v -> SignKeyDSIGN v -> Bool Source # (>=) :: SignKeyDSIGN v -> SignKeyDSIGN v -> Bool Source # max :: SignKeyDSIGN v -> SignKeyDSIGN v -> SignKeyDSIGN v Source # min :: SignKeyDSIGN v -> SignKeyDSIGN v -> SignKeyDSIGN v Source # | |||||
ByteArrayAccess (SignKeyDSIGN Ed25519Bip32DSIGN) | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 length :: SignKeyDSIGN Ed25519Bip32DSIGN -> Int withByteArray :: SignKeyDSIGN Ed25519Bip32DSIGN -> (Ptr p -> IO a) -> IO a copyByteArrayToPtr :: SignKeyDSIGN Ed25519Bip32DSIGN -> Ptr p -> IO () | |||||
ByteArrayAccess (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 length :: SignKeyDSIGN Ed448DSIGN -> Int withByteArray :: SignKeyDSIGN Ed448DSIGN -> (Ptr p -> IO a) -> IO a copyByteArrayToPtr :: SignKeyDSIGN Ed448DSIGN -> Ptr p -> IO () | |||||
NoThunks (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 noThunks :: Context -> SignKeyDSIGN Ed25519Bip32DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN Ed25519Bip32DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN Ed25519Bip32DSIGN) -> String # | |||||
NoThunks (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 noThunks :: Context -> SignKeyDSIGN EcdsaSecp256k1DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN EcdsaSecp256k1DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN EcdsaSecp256k1DSIGN) -> String # | |||||
NoThunks (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 noThunks :: Context -> SignKeyDSIGN Ed25519DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN Ed25519DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN Ed25519DSIGN) -> String # | |||||
NoThunks (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 noThunks :: Context -> SignKeyDSIGN Ed448DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN Ed448DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN Ed448DSIGN) -> String # | |||||
NoThunks (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock noThunks :: Context -> SignKeyDSIGN MockDSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN MockDSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN MockDSIGN) -> String # | |||||
NoThunks (SignKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed noThunks :: Context -> SignKeyDSIGN NeverDSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN NeverDSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN NeverDSIGN) -> String # | |||||
NoThunks (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 noThunks :: Context -> SignKeyDSIGN SchnorrSecp256k1DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> SignKeyDSIGN SchnorrSecp256k1DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (SignKeyDSIGN SchnorrSecp256k1DSIGN) -> String # | |||||
newtype SignKeyDSIGN Ed25519Bip32DSIGN Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
newtype SignKeyDSIGN EcdsaSecp256k1DSIGN | |||||
newtype SignKeyDSIGN Ed25519DSIGN | |||||
newtype SignKeyDSIGN Ed448DSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 | |||||
newtype SignKeyDSIGN MockDSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
data SignKeyDSIGN NeverDSIGN | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
newtype SignKeyDSIGN SchnorrSecp256k1DSIGN | |||||
type Rep (SignKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 type Rep (SignKeyDSIGN Ed25519Bip32DSIGN) = D1 ('MetaData "SignKeyDSIGN" "Cardano.Api.Crypto.Ed25519Bip32" "cardano-api-10.3.0.0-inplace" 'True) (C1 ('MetaCons "SignKeyEd25519Bip32DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XPrv))) | |||||
type Rep (SignKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 type Rep (SignKeyDSIGN EcdsaSecp256k1DSIGN) = D1 ('MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SignKeyEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_PRIVKEY_BYTES)))) | |||||
type Rep (SignKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 type Rep (SignKeyDSIGN Ed25519DSIGN) = D1 ('MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.Ed25519" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SignKeyEd25519DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes CRYPTO_SIGN_ED25519_SECRETKEYBYTES)))) | |||||
type Rep (SignKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 type Rep (SignKeyDSIGN Ed448DSIGN) = D1 ('MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.Ed448" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SignKeyEd448DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SecretKey))) | |||||
type Rep (SignKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock type Rep (SignKeyDSIGN MockDSIGN) = D1 ('MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.Mock" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SignKeyMockDSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
type Rep (SignKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
type Rep (SignKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 type Rep (SignKeyDSIGN SchnorrSecp256k1DSIGN) = D1 ('MetaData "SignKeyDSIGN" "Cardano.Crypto.DSIGN.SchnorrSecp256k1" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "SignKeySchnorrSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeSignKeyDSIGN SchnorrSecp256k1DSIGN))))) |
data family VerKeyDSIGN v Source #
Instances
Generic (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32
| |||||
Generic (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1
| |||||
Generic (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519
from :: VerKeyDSIGN Ed25519DSIGN -> Rep (VerKeyDSIGN Ed25519DSIGN) x Source # to :: Rep (VerKeyDSIGN Ed25519DSIGN) x -> VerKeyDSIGN Ed25519DSIGN Source # | |||||
Generic (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448
from :: VerKeyDSIGN Ed448DSIGN -> Rep (VerKeyDSIGN Ed448DSIGN) x Source # to :: Rep (VerKeyDSIGN Ed448DSIGN) x -> VerKeyDSIGN Ed448DSIGN Source # | |||||
Generic (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock
from :: VerKeyDSIGN MockDSIGN -> Rep (VerKeyDSIGN MockDSIGN) x Source # to :: Rep (VerKeyDSIGN MockDSIGN) x -> VerKeyDSIGN MockDSIGN Source # | |||||
Generic (VerKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed
from :: VerKeyDSIGN NeverDSIGN -> Rep (VerKeyDSIGN NeverDSIGN) x Source # to :: Rep (VerKeyDSIGN NeverDSIGN) x -> VerKeyDSIGN NeverDSIGN Source # | |||||
Generic (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1
| |||||
Num (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock (+) :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN Source # (-) :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN Source # (*) :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN Source # negate :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN Source # abs :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN Source # signum :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN Source # | |||||
Show (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 showsPrec :: Int -> VerKeyDSIGN Ed25519Bip32DSIGN -> ShowS Source # show :: VerKeyDSIGN Ed25519Bip32DSIGN -> String Source # showList :: [VerKeyDSIGN Ed25519Bip32DSIGN] -> ShowS Source # | |||||
Show (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 showsPrec :: Int -> VerKeyDSIGN EcdsaSecp256k1DSIGN -> ShowS Source # show :: VerKeyDSIGN EcdsaSecp256k1DSIGN -> String Source # showList :: [VerKeyDSIGN EcdsaSecp256k1DSIGN] -> ShowS Source # | |||||
Show (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 showsPrec :: Int -> VerKeyDSIGN Ed25519DSIGN -> ShowS Source # show :: VerKeyDSIGN Ed25519DSIGN -> String Source # showList :: [VerKeyDSIGN Ed25519DSIGN] -> ShowS Source # | |||||
Show (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 showsPrec :: Int -> VerKeyDSIGN Ed448DSIGN -> ShowS Source # show :: VerKeyDSIGN Ed448DSIGN -> String Source # showList :: [VerKeyDSIGN Ed448DSIGN] -> ShowS Source # | |||||
Show (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
Show (VerKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed showsPrec :: Int -> VerKeyDSIGN NeverDSIGN -> ShowS Source # show :: VerKeyDSIGN NeverDSIGN -> String Source # showList :: [VerKeyDSIGN NeverDSIGN] -> ShowS Source # | |||||
Show (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
FromCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 fromCBOR :: Decoder s (VerKeyDSIGN Ed25519Bip32DSIGN) Source # label :: Proxy (VerKeyDSIGN Ed25519Bip32DSIGN) -> Text Source # | |||||
FromCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 fromCBOR :: Decoder s (VerKeyDSIGN EcdsaSecp256k1DSIGN) Source # label :: Proxy (VerKeyDSIGN EcdsaSecp256k1DSIGN) -> Text Source # | |||||
FromCBOR (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 fromCBOR :: Decoder s (VerKeyDSIGN Ed25519DSIGN) Source # label :: Proxy (VerKeyDSIGN Ed25519DSIGN) -> Text Source # | |||||
FromCBOR (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 fromCBOR :: Decoder s (VerKeyDSIGN Ed448DSIGN) Source # label :: Proxy (VerKeyDSIGN Ed448DSIGN) -> Text Source # | |||||
FromCBOR (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
FromCBOR (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 | |||||
ToCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 toCBOR :: VerKeyDSIGN Ed25519Bip32DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN Ed25519Bip32DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN Ed25519Bip32DSIGN] -> Size Source # | |||||
ToCBOR (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 toCBOR :: VerKeyDSIGN EcdsaSecp256k1DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN EcdsaSecp256k1DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN EcdsaSecp256k1DSIGN] -> Size Source # | |||||
ToCBOR (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 toCBOR :: VerKeyDSIGN Ed25519DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN Ed25519DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN Ed25519DSIGN] -> Size Source # | |||||
ToCBOR (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 toCBOR :: VerKeyDSIGN Ed448DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN Ed448DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN Ed448DSIGN] -> Size Source # | |||||
ToCBOR (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
ToCBOR (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 toCBOR :: VerKeyDSIGN SchnorrSecp256k1DSIGN -> Encoding Source # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN SchnorrSecp256k1DSIGN) -> Size Source # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN SchnorrSecp256k1DSIGN] -> Size Source # | |||||
DSIGNAlgorithm v => DecCBOR (VerKeyDSIGN v) | |||||
Defined in Cardano.Ledger.Binary.Decoding.DecCBOR | |||||
DSIGNAlgorithm v => EncCBOR (VerKeyDSIGN v) | |||||
Defined in Cardano.Ledger.Binary.Encoding.EncCBOR encCBOR :: VerKeyDSIGN v -> Encoding Source # encodedSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy (VerKeyDSIGN v) -> Size Source # encodedListSizeExpr :: (forall t. EncCBOR t => Proxy t -> Size) -> Proxy [VerKeyDSIGN v] -> Size Source # | |||||
NFData (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 rnf :: VerKeyDSIGN Ed25519Bip32DSIGN -> () Source # | |||||
NFData (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 rnf :: VerKeyDSIGN EcdsaSecp256k1DSIGN -> () Source # | |||||
NFData (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 rnf :: VerKeyDSIGN Ed25519DSIGN -> () Source # | |||||
NFData (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 rnf :: VerKeyDSIGN Ed448DSIGN -> () Source # | |||||
NFData (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock rnf :: VerKeyDSIGN MockDSIGN -> () Source # | |||||
NFData (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 rnf :: VerKeyDSIGN SchnorrSecp256k1DSIGN -> () Source # | |||||
Eq (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
Eq (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Eq (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 (==) :: VerKeyDSIGN Ed25519DSIGN -> VerKeyDSIGN Ed25519DSIGN -> Bool Source # (/=) :: VerKeyDSIGN Ed25519DSIGN -> VerKeyDSIGN Ed25519DSIGN -> Bool Source # | |||||
Eq (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 (==) :: VerKeyDSIGN Ed448DSIGN -> VerKeyDSIGN Ed448DSIGN -> Bool Source # (/=) :: VerKeyDSIGN Ed448DSIGN -> VerKeyDSIGN Ed448DSIGN -> Bool Source # | |||||
Eq (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock (==) :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN -> Bool Source # (/=) :: VerKeyDSIGN MockDSIGN -> VerKeyDSIGN MockDSIGN -> Bool Source # | |||||
Eq (VerKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed (==) :: VerKeyDSIGN NeverDSIGN -> VerKeyDSIGN NeverDSIGN -> Bool Source # (/=) :: VerKeyDSIGN NeverDSIGN -> VerKeyDSIGN NeverDSIGN -> Bool Source # | |||||
Eq (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
(TypeError ('Text "Ord not supported for verification keys, use the hash instead") :: Constraint, Eq (VerKeyDSIGN v)) => Ord (VerKeyDSIGN v) | |||||
Defined in Cardano.Crypto.DSIGN.Class compare :: VerKeyDSIGN v -> VerKeyDSIGN v -> Ordering Source # (<) :: VerKeyDSIGN v -> VerKeyDSIGN v -> Bool Source # (<=) :: VerKeyDSIGN v -> VerKeyDSIGN v -> Bool Source # (>) :: VerKeyDSIGN v -> VerKeyDSIGN v -> Bool Source # (>=) :: VerKeyDSIGN v -> VerKeyDSIGN v -> Bool Source # max :: VerKeyDSIGN v -> VerKeyDSIGN v -> VerKeyDSIGN v Source # min :: VerKeyDSIGN v -> VerKeyDSIGN v -> VerKeyDSIGN v Source # | |||||
ByteArrayAccess (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 length :: VerKeyDSIGN Ed448DSIGN -> Int withByteArray :: VerKeyDSIGN Ed448DSIGN -> (Ptr p -> IO a) -> IO a copyByteArrayToPtr :: VerKeyDSIGN Ed448DSIGN -> Ptr p -> IO () | |||||
NoThunks (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 noThunks :: Context -> VerKeyDSIGN Ed25519Bip32DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN Ed25519Bip32DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN Ed25519Bip32DSIGN) -> String # | |||||
NoThunks (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 noThunks :: Context -> VerKeyDSIGN EcdsaSecp256k1DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN EcdsaSecp256k1DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN EcdsaSecp256k1DSIGN) -> String # | |||||
NoThunks (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 noThunks :: Context -> VerKeyDSIGN Ed25519DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN Ed25519DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN Ed25519DSIGN) -> String # | |||||
NoThunks (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 noThunks :: Context -> VerKeyDSIGN Ed448DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN Ed448DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN Ed448DSIGN) -> String # | |||||
NoThunks (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock noThunks :: Context -> VerKeyDSIGN MockDSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN MockDSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN MockDSIGN) -> String # | |||||
NoThunks (VerKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed noThunks :: Context -> VerKeyDSIGN NeverDSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN NeverDSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN NeverDSIGN) -> String # | |||||
NoThunks (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 noThunks :: Context -> VerKeyDSIGN SchnorrSecp256k1DSIGN -> IO (Maybe ThunkInfo) # wNoThunks :: Context -> VerKeyDSIGN SchnorrSecp256k1DSIGN -> IO (Maybe ThunkInfo) # showTypeOf :: Proxy (VerKeyDSIGN SchnorrSecp256k1DSIGN) -> String # | |||||
Show (VerKeyDSIGN d) => Condense (VerKeyDSIGN d) | |||||
Defined in Ouroboros.Consensus.Util.Condense condense :: VerKeyDSIGN d -> String Source # | |||||
newtype VerKeyDSIGN Ed25519Bip32DSIGN Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 | |||||
newtype VerKeyDSIGN EcdsaSecp256k1DSIGN | |||||
newtype VerKeyDSIGN Ed25519DSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 | |||||
newtype VerKeyDSIGN Ed448DSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 | |||||
newtype VerKeyDSIGN MockDSIGN | |||||
Defined in Cardano.Crypto.DSIGN.Mock | |||||
data VerKeyDSIGN NeverDSIGN | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
newtype VerKeyDSIGN SchnorrSecp256k1DSIGN | |||||
type Rep (VerKeyDSIGN Ed25519Bip32DSIGN) Source # | |||||
Defined in Cardano.Api.Crypto.Ed25519Bip32 type Rep (VerKeyDSIGN Ed25519Bip32DSIGN) = D1 ('MetaData "VerKeyDSIGN" "Cardano.Api.Crypto.Ed25519Bip32" "cardano-api-10.3.0.0-inplace" 'True) (C1 ('MetaCons "VerKeyEd25519Bip32DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XPub))) | |||||
type Rep (VerKeyDSIGN EcdsaSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1 type Rep (VerKeyDSIGN EcdsaSecp256k1DSIGN) = D1 ('MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.EcdsaSecp256k1" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "VerKeyEcdsaSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_ECDSA_PUBKEY_BYTES_INTERNAL)))) | |||||
type Rep (VerKeyDSIGN Ed25519DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed25519 type Rep (VerKeyDSIGN Ed25519DSIGN) = D1 ('MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.Ed25519" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "VerKeyEd25519DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes (SizeVerKeyDSIGN Ed25519DSIGN))))) | |||||
type Rep (VerKeyDSIGN Ed448DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Ed448 type Rep (VerKeyDSIGN Ed448DSIGN) = D1 ('MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.Ed448" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "VerKeyEd448DSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublicKey))) | |||||
type Rep (VerKeyDSIGN MockDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.Mock type Rep (VerKeyDSIGN MockDSIGN) = D1 ('MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.Mock" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "VerKeyMockDSIGN" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
type Rep (VerKeyDSIGN NeverDSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.NeverUsed | |||||
type Rep (VerKeyDSIGN SchnorrSecp256k1DSIGN) | |||||
Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1 type Rep (VerKeyDSIGN SchnorrSecp256k1DSIGN) = D1 ('MetaData "VerKeyDSIGN" "Cardano.Crypto.DSIGN.SchnorrSecp256k1" "cardano-crypto-class-2.1.5.0-59b7c876fc46bd5ca7935152f7bf97311f5e10f276dc352a728a7c5d67bc93e3" 'True) (C1 ('MetaCons "VerKeySchnorrSecp256k1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PinnedSizedBytes SECP256K1_SCHNORR_PUBKEY_BYTES_INTERNAL)))) |
Serialisation
xPrvToBytes :: XPrv -> ByteString Source #
Serialise an XPrv
to a ByteString
(96 bytes).
In cardano-crypto
, an XPrv
was originally serialised using the
following 128-byte binary format:
Extended Private Key (64 bytes) | Public Key (32 bytes) | Chain Code (32 bytes) |
However, this function serialises an XPrv
using a more compact 96-byte
binary format:
Extended Private Key (64 bytes) | Chain Code (32 bytes) |
xPrvFromBytes :: ByteString -> Maybe XPrv Source #
Deserialise an XPrv
from a ByteString
(96 bytes).
In cardano-crypto
, an XPrv
was originally deserialised using the
following 128-byte binary format:
Extended Private Key (64 bytes) | Public Key (32 bytes) | Chain Code (32 bytes) |
However, this function deserialises an XPrv
using a more compact
96-byte binary format:
Extended Private Key (64 bytes) | Chain Code (32 bytes) |