Struct noise_sv2::Authority [−][src]
pub struct Authority { /* fields omitted */ }
Implementations
Create an Authority from pub_k and priv_k (32 bytes keys)
Create a Certificate valid until now + duration for pub_k
Create a Certificate valid until now + duration for pub_k