Function

NM-1.0NMutils_file_is_certificate

  • Tests if filename has a valid extension for an X.509 certificate file (".cer", ".crt", ".der", or ".pem"), and contains a certificate in a format recognized by NetworkManager.

    Parameters

    • filename: string

      name of the file to test

    Returns boolean

    true if the file is a certificate, false if it is not