| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Botan.PubKey.KeyAgreement
Documentation
data KeyAgreement Source #
Constructors
| DHKA DLGroup | |
| ECDHKA ECGroup | |
| Curve25519KA |
keyAgreementToPK :: KeyAgreement -> PK Source #
type KAPublicKey = ByteString Source #
type KASharedSecret = ByteString Source #
deriveKeyAgreementSharedSecret :: KeyAgreement -> KAPublicKey -> ByteString -> IO KASharedSecret Source #
keyAgreement :: PrivKey -> KAPublicKey -> KDF -> ByteString -> IO KASharedSecret Source #
type ECDHPub = ByteString Source #