MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / from

Method from

ra-tls/src/cert.rs:155–167  ·  view source on GitHub ↗
(config: CertConfig)

Source from the content-addressed store, hash-verified

153
154impl 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.

Callers 3

processModuleFunction · 0.45
refreshExpandedVMsFunction · 0.45
calcComposeHashFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected