GSignond
Description:
Content:
Interfaces:
- Plugin - Opaque Plugin data structure.
Classes:
- AccessControlManager - Opaque AccessControlManager data structure.
- Config - Opaque structure for the object.
- Credentials - Opaque Credentials data structure.
- Dictionary - Opaque Dictionary data structure.
- Extension - Opaque Extension data structure.
- SecretStorage - Opaque SecretStorage data structure.
- SecurityContext
- SessionData - Opaque SessionData data structure.
- SignonuiData - SignonuiData is simply a typedef for Dictionary, which means the developers may also freely use methods associated with that structure, in particular for creating a SignonuiData object with Dictionary.
- StorageManager - Opaque StorageManager data structure.
Enums:
- PluginState - The plugin provides state updates by emitting status_changed signal with this enum and a string describing what happened.
- SignonuiError - This enum defines errors that may happen during user interaction.
- UiPolicy - Policy setting to define how plugins should handle interaction with the user.
Error domains:
- Error - This enum provides a list of errors that plugins and extensions can use.
Constants:
- public const string CONFIG_DBUS_TIMEOUTS
A prefix for dbus timeout keys.
- public const string CONFIG_GENERAL
A prefix for general keys.
Functions:
- public string generate_nonce ()
This function generates a random secure nonce using SHA1 HMAC.
- public bool is_host_in_domain (string host, string domain)
Checks if
host
belongs todomain
. - public IOStream new_io_stream_from_fd (int in_fd, int out_fd, bool close_fds)
Create a IOStream from two file descriptors
- public string[] sequence_to_array (Sequence seq)
Convert sequence of strings to null-terminated string array.
- public bool wipe_directory (string dirname)
This function securely wipes the contents of the directory by calling wipe_file on each file.
- public bool wipe_file (string filename)
This function securely wipes the contents of the file, by overwriting it with 0's, then 1's, then random data.