Portability | Excellent |
---|---|
Stability | Experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | Safe-Inferred |
Crypto.Types.PubKey.ECDSA
Description
- data Signature = Signature {}
- type PublicPoint = Point
- data PublicKey = PublicKey {}
- type PrivateNumber = Integer
- data PrivateKey = PrivateKey {}
- data KeyPair = KeyPair Curve PublicPoint PrivateNumber
- toPublicKey :: KeyPair -> PublicKey
- toPrivateKey :: KeyPair -> PrivateKey
Documentation
Represent a ECDSA signature namely R and S.
type PublicPoint = PointSource
ECDSA Public Point, usually embedded in ECDSA Public Key.
ECDSA Public Key.
Constructors
PublicKey | |
Fields
|
type PrivateNumber = IntegerSource
ECDSA Private Number, usually embedded in ECDSA Private Key.
ECDSA Key Pair.
Constructors
KeyPair Curve PublicPoint PrivateNumber |
toPublicKey :: KeyPair -> PublicKeySource
Public key of a ECDSA Key pair.
toPrivateKey :: KeyPair -> PrivateKeySource
Private key of a ECDSA Key pair.