(config: CertConfig)
| 153 | |
| 154 | impl From<CertConfig> for CertConfigV2 { |
| 155 | fn from(config: CertConfig) -> Self { |
| 156 | Self { |
| 157 | org_name: config.org_name, |
| 158 | subject: config.subject, |
| 159 | subject_alt_names: config.subject_alt_names, |
| 160 | usage_server_auth: config.usage_server_auth, |
| 161 | usage_client_auth: config.usage_client_auth, |
| 162 | ext_quote: config.ext_quote, |
| 163 | ext_app_info: false, |
| 164 | not_before: None, |
| 165 | not_after: None, |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | /// A certificate signing request. |
no outgoing calls
no test coverage detected