Skip to main content

Module certs

Module certs 

Source
Expand description

A certificate authority the tests control.

Every certificate in the TLS and WSS tests is generated at run time from this, so nothing depends on a public CA, on a clock beyond the test’s control, or on anyone else’s expiry date. It lives here rather than in each test file because a fixture copied three times is three fixtures that can quietly stop meaning the same thing.

Structs§

Ca
A private CA, and the certificates it issues.

Functions§

dns
A dNSName subject alternative name.