matc::cert_x509

Function encode_x509

Source
pub fn encode_x509(
    node_public_key: &[u8],
    node_id: u64,
    fabric_id: u64,
    ca_id: u64,
    ca_private: &SecretKey,
    ca: bool,
) -> Result<Vec<u8>>
Expand description

Create matter compatible certificate in x509 format.