Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq KeyPair Source # | |
Read KeyPair Source # | |
Show KeyPair Source # | |
Generic KeyPair Source # | |
Arbitrary KeyPair Source # | |
Binary KeyPair Source # | |
MessagePack KeyPair Source # | |
Defined in Network.Tox.Crypto.KeyPair toObject :: Config -> KeyPair -> Object # fromObjectWith :: (Applicative m, Monad m, MonadValidate DecodeError m) => Config -> Object -> m KeyPair # | |
type Rep KeyPair Source # | |
Defined in Network.Tox.Crypto.KeyPair type Rep KeyPair = D1 ('MetaData "KeyPair" "Network.Tox.Crypto.KeyPair" "toxcore-0.2.12-inplace" 'False) (C1 ('MetaCons "KeyPair" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SecretKey) :*: S1 ('MetaSel ('Just "publicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PublicKey))) |
newKeyPair :: IO KeyPair Source #
fromSecretKey :: SecretKey -> KeyPair Source #