gsignond
Description:
Single signon daemon library.
Content:
Namespaces:
- GSignond
Interfaces:
- Plugin - Opaque Plugin
data structure.
Classes:
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:
Methods:
- 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 to domain
.
- 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.