Top |
gboolean
gsignond_wipe_file (const gchar *filename
);
This function securely wipes the contents of the file, by overwriting it with 0's, then 1's, then random data. The file is then removed.
gboolean
gsignond_wipe_directory (const gchar *dirname
);
This function securely wipes the contents of the directory by calling
gsignond_wipe_file()
on each file. It also removes links and empty directories but
does not recursively wipe them.
gchar * gsignond_generate_nonce ();
This function generates a random secure nonce using SHA1 HMAC.
GVariant *
gsignond_sequence_to_variant (GSequence *seq
);
Convert a string sequence to a variant.
GSequence *
gsignond_variant_to_sequence (GVariant *var
);
Convert variant containing string array to sequence.
gchar **
gsignond_sequence_to_array (GSequence *seq
);
Convert sequence of strings to null-terminated string array.
GSequence *
gsignond_array_to_sequence (gchar **items
);
Convert null-terminated array of strings to a sequence.
GSequence *
gsignond_copy_array_to_sequence (const gchar **items
);
Copy null-terminated array of strings to a sequence.