rustls-rustcrypto 0.0.2-alpha

Pure Rust cryptography provider for the Rustls TLS library using algorithm implementations from the RustCrypto organization
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rustls::pki_types::UnixTime;
use rustls::time_provider::TimeProvider;

#[derive(Debug)]
pub struct FakeTime;

impl TimeProvider for FakeTime {
    fn current_time(&self) -> Option<UnixTime> {
        None
    }
}