Andrew Kelley
|
21ab99174e
|
std.crypto.tls.Client: use enums more
|
2023-01-02 16:57:16 -07:00 |
|
Andrew Kelley
|
ceb211e65f
|
std.crypto.tls.Client: handle key_update message
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
4f9f4575bd
|
std.crypto.tls: rename HandshakeCipher
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
bbc074252c
|
introduce std.crypto.CertificateBundle
for reading root certificate authority bundles from standard
installation locations on the file system. So far only Linux logic is
added.
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
3237000d95
|
std.crypto.tls: rudimentary certificate parsing
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
5d7eca6669
|
std.crypto.tls.Client: fix verify_data for batched handshakes
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
e2efba76aa
|
std.crypto.tls: refactor to remove mutations
build up the hello message with array concatenation and helper functions
rather than hard-coded offsets and lengths.
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
41f4461cda
|
std.crypto.tls.Client: verify the server's Finished message
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
942b5b468f
|
std.crypto.tls: implement the rest of the cipher suites
Also:
* Use KeyPair.create() function
* Don't bother with CCM
|
2023-01-02 16:57:15 -07:00 |
|
Andrew Kelley
|
93ab8be8d8
|
extract std.crypto.tls.Client into separate namespace
|
2023-01-02 16:57:15 -07:00 |
|