Expand description
X.509 DER certificates in the Matter certificate profile, as a CA built on common PKI tooling issues them, converted to the Matter TLV encoding that Matter nodes exchange (Matter Core spec, “Certificate Encoding”).
A Matter TLV certificate carries the same fields as the X.509 one and the same signature, which is over the X.509 encoding: a node verifying it rebuilds the DER from the TLV. So every conversion is checked by rebuilding the DER with rs-matter and comparing it with the input byte for byte. A certificate outside the profile (another string type, an extension encoded otherwise) is refused here rather than installed with a signature no node would accept.
Functions§
- to_
matter_ tlv - Convert an X.509 DER certificate in the Matter profile (an RCAC, ICAC or NOC) to Matter TLV.