Skip to main content

issue_for

Function issue_for 

Source
pub fn issue_for(names: &[&str]) -> TestCertificate
Expand description

A fresh authority and a leaf covering names, which may be hostnames or address literals.

Two calls produce two authorities: a test that wants one server’s certificate refused by another server’s client gets that by calling this twice.