pub fn convert_x509_bytes_to_matter( bytes: &[u8], ca_pubkey: &[u8], ) -> Result<Vec<u8>>
Convert certificate from X509/DER array of bytes to matter format x509 certificate must be compatible with matter