diff options
-rw-r--r-- | lib/verify-tofu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c index 788ca9ac80..3c953ba757 100644 --- a/lib/verify-tofu.c +++ b/lib/verify-tofu.c @@ -543,6 +543,13 @@ int store_commitment(const char *db_name, const char *host, * the storage of entries. If it is NULL then the * default file backend will be used. * + * Unless an alternative @tdb is provided, the storage format is a textual format + * consisting of a line for each host with fields separated by '|'. The contents of + * the fields are a format-identifier which is set to 'g0', the hostname that the + * rest of the data applies to, the numeric port or host name, the expiration + * time in seconds since the epoch (0 for no expiration), and a base64 + * encoding of the raw (DER) public key information (SPKI) of the peer. + * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a * negative error value. * |