Vincent Hanquez
331651b0ca
add a way to get credentials from memory instead of from files.
2014-01-29 04:41:47 +00:00
Vincent Hanquez
f6ecbf82c6
export some extra validation data types
2014-01-27 04:17:30 +00:00
Vincent Hanquez
86375aaa57
move onHandshake to a serverHooks, and remove CommonHooks everywhere.
...
export modifyHooks as contextModifyHooks
2014-01-26 07:02:43 +00:00
Vincent Hanquez
251a0b2193
move logging into dynamic hooks
2014-01-26 06:50:47 +00:00
Vincent Hanquez
4e5ff7f53d
Change the way parameters are created.
...
This is still WIP and this commit is truly horrific. Sadly, it's just
too much effort to do clean commit with this, and it doesn't mix with
experimentation either.
2014-01-25 16:51:51 +00:00
Vincent Hanquez
8e128a0412
export information and related.
2014-01-17 08:49:16 +00:00
Vincent Hanquez
453fab50ed
split Backend and introduce a new HasBackend class
...
the HasBackend class allow to not have multiples contextNewOnX calls,
but instead will favor only one contextNew that can take all HasBackend types.
2014-01-10 07:01:34 +00:00
Vincent Hanquez
614b5b4c6b
split parameters from context
2014-01-05 11:14:17 +00:00
Vincent Hanquez
8e6a6d9456
add a credentials module
2013-12-28 15:12:14 +00:00
Vincent Hanquez
9883b8644f
move single exceptions into a one type to rule them all.
...
HandshakeFailed, ConnectionNotEstablished, and Terminated are now
a TLSException type. it should allow easier catching for users.
2013-11-27 15:31:45 +08:00
Vincent Hanquez
0870189689
add a contextNewWithSocket
2013-10-11 08:01:38 +01:00
Vincent Hanquez
37eb3dab6e
export the function to set the hook.
2013-07-10 07:10:01 +01:00
Vincent Hanquez
86df11a16a
Merge https://github.com/knrafto/hs-tls into x509
...
Conflicts:
core/Network/TLS/Context.hs
2013-06-03 08:12:10 +01:00
Kyle Raftogianis
347ebdaaf1
Rename nullSessionManager to noSessionManager
2013-06-01 23:52:38 -07:00
Vincent Hanquez
8468556fe8
use x509 public key and private key instead of defining our own in tls.
2013-05-30 07:21:25 +01:00
Vincent Hanquez
b1478dd618
some exporting deprecated aliases.
2013-05-26 08:02:20 +01:00
Kyle Raftogianis
2c9fa01197
Replace existential session manager with concrete data type
2013-05-14 22:42:09 -07:00
Vincent Hanquez
fd922e90d3
define a new Terminated exception
2012-12-31 15:48:04 +00:00
Vincent Hanquez
1c90962e9a
tweak how things are exported. simplify code.
...
use correct type alias
2012-10-21 20:35:32 +01:00
Vincent Hanquez
60f7197b0a
export everything required.
2012-10-21 18:32:07 +01:00
Vincent Hanquez
5627e3ddf9
add some spaces
2012-10-20 08:56:39 +01:00
Vincent Hanquez
957a005664
move all tls into a core directory.
2012-09-05 06:27:06 +01:00