Commit graph

26 commits

Author SHA1 Message Date
Vincent Hanquez
4b90486f10 fixup dummy windows/macos X implementation 2011-06-19 11:59:11 +01:00
Vincent Hanquez
5789a2cd22 fix certificateVerifyChain to not assume there's a chain. 2011-05-31 21:38:45 +01:00
Vincent Hanquez
6462d8069b add self signed functions 2011-05-31 21:37:46 +01:00
Vincent Hanquez
8df0b64b9d adding some documentation 2011-05-31 21:36:56 +01:00
Vincent Hanquez
a0ef8b36b3 remove commented code 2011-05-31 21:36:38 +01:00
Vincent Hanquez
cb41a771c3 fixup tls 0.7 new certificate callback usage 2011-05-14 09:12:30 +01:00
Vincent Hanquez
688bc7b951 rename CipherKeyExchangeRSA 2011-05-13 21:42:57 +01:00
Vincent Hanquez
dffebb649d add a function to return the certificate fingerprint 2011-05-11 08:26:46 +01:00
Vincent Hanquez
1dbf712ba9 add a function to check certificate validity 2011-05-11 08:26:32 +01:00
Vincent Hanquez
97df3e90fd bump version of tls and certificate 2011-05-09 09:20:22 +01:00
Vincent Hanquez
287d5b9c33 move to tls 0.6.0 and use cprng-aes as cryptorandomgen instance. 2011-04-11 20:03:49 +01:00
Vincent Hanquez
f51cb4d3de Add a helper about connection 2011-04-10 21:34:43 +01:00
Vincent Hanquez
f90861119a fixup non haddock comment to not be recognized as haddock comment. 2011-04-05 21:36:27 +01:00
Vincent Hanquez
a9e56e5c4b Tweak certificate validDomain algorithm
- check more invalid cases
- enforce full match when no wildcard is present
- match wildcard explicitly only once.
2011-04-04 08:53:29 +01:00
Michael Snoyman
84cd71071e certificateVerifyDomain 2011-04-03 12:48:12 +03:00
Vincent Hanquez
6e5f94e5f0 extends certificateVerifyChain comment 2011-03-31 21:47:07 +01:00
Vincent Hanquez
da1142e6bf add one newline 2011-03-31 21:46:53 +01:00
Vincent Hanquez
3b8577cbaf rename certificateVerify to certificateVerifyAgainst 2011-03-31 21:46:36 +01:00
Vincent Hanquez
490a4ec5be wrong marshaled asn1 for (md2|sha1)WithRSAEncryption
copy pasted md5 asn1 when refactoring leading to sha1 and md2 to have the md5 asn1,
which lead to obvious verification failure.
2011-03-31 21:45:58 +01:00
Vincent Hanquez
708270190e add big fat warning and some code to bypass the certificate verify chain 2011-03-31 14:14:21 +01:00
Vincent Hanquez
da6ce2e64d add haddock documentation 2011-03-29 08:32:25 +01:00
Vincent Hanquez
d178fb7bf2 define some ciphersuite 2011-03-29 08:32:02 +01:00
Vincent Hanquez
511a781721 export certificate checking in extra 2011-03-20 07:07:57 +00:00
Vincent Hanquez
3137e1897e add certificate checking 2011-03-20 07:07:49 +00:00
Vincent Hanquez
a8575c9722 add missing file 2011-03-20 07:07:37 +00:00
Vincent Hanquez
bd3c9546a4 initial import (mostly imported from tls 0.4) 2011-03-19 21:47:35 +00:00