pub fn from_pem(pem: impl AsRef<[u8]>) -> Self {
        let pem = pem.as_ref().into();
        Self { pem }
    }
Parse a PEM encoded X509 Certificate.

The provided PEM should include at least one PEM encoded certificate.
tonic/src/transport/tls.rs