pub fn pem_file(path: impl Into<PathBuf>, private_key: impl Into<Option<PrivateKey>>) -> Self {
        Self {
            format: "PEM",
            data: PathOrBlob::Path(path.into()),
            private_key: private_key.into(),
            password: None,
        }
    }
/// Get a certificate from a PEM-encoded file.
///
/// The certificate file is not loaded or validated here. If the file does
/// not exist or the format is not supported by the underlying SSL/TLS
/// engine, an error will be returned when attempting to send a request
/// using the offending certificate.
Get a certificate from a PEM-encoded file.
The certificate file is not loaded or validated here. If the file does
not exist or the format is not supported by the underlying SSL/TLS
engine, an error will be returned when attempting to send a request
using the offending certificate.
Get a certificate from a PEM - encoded file . The certificate file is not loaded or validated here . If the file does not exist or the format is not supported by the underlying SSL / TLS engine an error will be returned when attempting to send a request using the offending certificate .
pub fn pem_file(path: impl Into<PathBuf>, private_key: impl Into<Option<PrivateKey>>) -> Self {
        Self {
            format: "PEM",
            data: PathOrBlob::Path(path.into()),
            private_key: private_key.into(),
            password: None,
        }
    }
pub fn pem_file ( path : impl Into < PathBuf > , private_key : impl Into < Option < PrivateKey > > ) -> Self { Self { format : " " , data : PathOrBlob :: Path ( path . into ( ) ) , private_key : private_key . into ( ) , password : None , } }
Get a certificate from a PEM-encoded file.
Get a certificate from a PEM - encoded file .
path
impl Into<PathBuf>
private_key
impl Into<Option<PrivateKey>>