Merge pull request #254 from ljrk0/certfp_pkcs12_doc

CertFP: The file must be a PKCS #12 archive
This commit is contained in:
aaron 2024-03-18 13:03:54 -07:00 committed by GitHub
commit 2eb9bf5c2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,7 +129,8 @@ pub struct Config {
#[cfg(any(feature = "tls-native", feature = "tls-rust"))] #[cfg(any(feature = "tls-native", feature = "tls-rust"))]
#[cfg_attr(feature = "serde", serde(skip_serializing_if = "Option::is_none"))] #[cfg_attr(feature = "serde", serde(skip_serializing_if = "Option::is_none"))]
pub cert_path: Option<String>, pub cert_path: Option<String>,
/// The path to a TLS certificate to use for CertFP client authentication in DER format. /// The path to a TLS certificate to use for CertFP client authentication in a DER-formatted
/// PKCS #12 archive.
#[cfg(any(feature = "tls-native", feature = "tls-rust"))] #[cfg(any(feature = "tls-native", feature = "tls-rust"))]
#[cfg_attr(feature = "serde", serde(skip_serializing_if = "Option::is_none"))] #[cfg_attr(feature = "serde", serde(skip_serializing_if = "Option::is_none"))]
pub client_cert_path: Option<String>, pub client_cert_path: Option<String>,