keyfile_read


Description:


[ Version ( since = "1.30" ) ]
public Connection keyfile_read (KeyFile keyfile, string base_dir, KeyfileHandlerFlags handler_flags, KeyfileReadHandler? handler) throws Error

Tries to create a NMConnection from a keyfile.

The resulting keyfile is not normalized and might not even verify.

Parameters:

keyfile

the keyfile from which to create the connection

base_dir

when reading certificates from files with relative name, the relative path is made absolute using base_dir. This must be an absolute path.

handler_flags

the KeyfileHandlerFlags.

handler

read handler

user_data

user data for read handler

Returns:

on success, returns the created connection.


Namespace: NM
Package: libnm



2022 vala-language.org