Maintainer | John Galt <jgalt@centromere.net> |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
interpretToken :: forall c d h r. (Cipher c, DH d, Hash h) => HandshakeRole -> Token r -> Handshake c d h r Source #
processMsgPattern :: (Cipher c, DH d, Hash h) => HandshakeRole -> MessagePattern r -> Handshake c d h r Source #
interpretPreToken :: (Cipher c, DH d, Hash h) => HandshakeRole -> Token r -> Handshake c d h r Source #
runHandshakePattern :: (Cipher c, DH d, Hash h) => HandshakePattern -> Handshake c d h () Source #
getPublicKey :: Lens' (HandshakeOpts d) (Maybe (PublicKey d)) -> ExceptionKeyType -> Handshake c d h (PublicKey d) Source #
getKeyPair :: Lens' (HandshakeOpts d) (Maybe (KeyPair d)) -> ExceptionKeyType -> Handshake c d h (KeyPair d) Source #