Struct csr_gen::Config [] [src]

pub struct Config {
    pub key: String,
    pub csrs: BTreeMap<String, Vec<String>>,
}

Configuration for a given private key listing what csrs to sign with a list of domains to include.

Fields

The private key file name

A mapping from names for the csrs to a list of domain names. The first domain name will be the subject.

Methods

impl Config
[src]

Create a config from a given string, returning a generic error if the string doesn't represent a valid Config

Generates the csrs into the given path.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.