pub fn parse_pem(
    pem: impl AsRef<[u8]>
) -> Result<(Vec<Certificate>, PrivateKey)>