toxcore-0.2.12: A Tox protocol implementation in Haskell
Safe HaskellNone
LanguageHaskell2010

Network.Tox.Crypto.KeyPair

Documentation

data KeyPair Source #

Constructors

KeyPair 

Instances

Instances details
Eq KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

Methods

(==) :: KeyPair -> KeyPair -> Bool #

(/=) :: KeyPair -> KeyPair -> Bool #

Read KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

Show KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

Generic KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

Associated Types

type Rep KeyPair :: Type -> Type #

Methods

from :: KeyPair -> Rep KeyPair x #

to :: Rep KeyPair x -> KeyPair #

Arbitrary KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

Binary KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

Methods

put :: KeyPair -> Put #

get :: Get KeyPair #

putList :: [KeyPair] -> Put #

MessagePack KeyPair Source # 
Instance details

Defined in Network.Tox.Crypto.KeyPair

type Rep KeyPair Source # 
Instance details

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)))