Function ndpi_add_trusted_issuer_dn

Function Documentation

int ndpi_add_trusted_issuer_dn(struct ndpi_detection_module_struct *ndpi_mod, char *dn)

Add a trusted certificate issuer DN

ndpi_mod = the detection module
dn = the issuer DN as it appears in the certificate (example “CN=813845657003339838, O=Code42, OU=TEST, ST=MN, C=US”)
Return
0 if the rule is loaded correctly; < 0 in case an error is detected