pub fn to_matter_tlv(der: &[u8]) -> Result<Vec<u8>, Error>
Convert an X.509 DER certificate in the Matter profile (an RCAC, ICAC or NOC) to Matter TLV.