Tests if filename
has a valid extension for an X.509 private key file (".
der", ".key", ".pem", or ".p12"), and contains a private key in a format recognized by NetworkManager.
filename |
name of the file to test |
out_encrypted |
on return, whether the file is encrypted |
true if the file is a private key, false if it is not |