pub fn pkcs12<B, P>(bytes: B, password: P) -> Self
    where
        B: Into<Vec<u8>>,
        P: Into<Option<String>>,
    {
        Self {
            format: "P12",
            data: PathOrBlob::Blob(bytes.into()),
            private_key: None,
            password: password.into(),
        }
    }
/// Use a certificate and private key from a PKCS #12 archive stored in the
/// given byte buffer.
///
/// The certificate object takes ownership of the byte buffer. If a borrowed
/// type is supplied, such as `&[u8]`, then the bytes will be copied.
///
/// The certificate is not parsed or validated here. If the certificate is
/// malformed 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.
Use a certificate and private key from a PKCS #12 archive stored in the
given byte buffer.

The certificate object takes ownership of the byte buffer. If a borrowed
type is supplied, such as `&[u8]`, then the bytes will be copied.

The certificate is not parsed or validated here. If the certificate is
malformed 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.
Use a certificate and private key from a PKCS #12 archive stored in the given byte buffer . The certificate object takes ownership of the byte buffer . If a borrowed type is supplied such as ` & [ u8 ] ` then the bytes will be copied . The certificate is not parsed or validated here . If the certificate is malformed 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 pkcs12<B, P>(bytes: B, password: P) -> Self
    where
        B: Into<Vec<u8>>,
        P: Into<Option<String>>,
    {
        Self {
            format: "P12",
            data: PathOrBlob::Blob(bytes.into()),
            private_key: None,
            password: password.into(),
        }
    }
pub fn pkcs12 < B , P > ( bytes : B , password : P ) -> Self where B : Into < Vec < u8 > > , P : Into < Option < String > > , { Self { format : " " , data : PathOrBlob :: Blob ( bytes . into ( ) ) , private_key : None , password : password . into ( ) , } }
Use a certificate and private key from a PKCS #12 archive stored in the
given byte buffer.
Use a certificate and private key from a PKCS #12 archive stored in the given byte buffer .
bytes
B
password
P