file_is_certificate
Description:
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 |
name of the file to test |
Returns:
true if the file is a certificate, false if it is not |
Namespace: NM.Utils
Package: libnm