From dd428301eb6f02542015121d7b08d9997f137e50 Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Tue, 12 Mar 2019 15:13:33 +0100 Subject: New upstream version 1.15.91 --- docs/libnm/html/libnm-nm-utils.html | 57 +++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) (limited to 'docs/libnm/html/libnm-nm-utils.html') diff --git a/docs/libnm/html/libnm-nm-utils.html b/docs/libnm/html/libnm-nm-utils.html index 099fb063..3528aac9 100644 --- a/docs/libnm/html/libnm-nm-utils.html +++ b/docs/libnm/html/libnm-nm-utils.html @@ -631,6 +631,14 @@ nm_utils_get_timestamp_msec () + + +gboolean + + +nm_utils_base64secret_decode () + + @@ -1888,9 +1896,9 @@ and predicate

user_data

-

(allow-none): user data for predicate +

user data for predicate function.

-[closure] +[closure][allow-none]

error

@@ -3356,6 +3364,51 @@ nm_utils_sriov_vf_from_str (const gint64 nm_utils_get_timestamp_msec (void); +
+
+

nm_utils_base64secret_decode ()

+
gboolean
+nm_utils_base64secret_decode (const char *base64_key,
+                              gsize required_key_len,
+                              guint8 *out_key);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

base64_key

the (possibly invalid) base64 encode key.

 

required_key_len

the expected (binary) length of the key after +decoding. If the length does not match, the validation fails.

 

out_key

(out): an optional output buffer for the binary +key. If given, it will be filled with exactly required_key_len +bytes.

[allow-none]
+
+
+

Returns

+

TRUE if the input key is a valid base64 encoded key +with required_key_len +bytes.

+
+

Since: 1.16

+

Types and Values

-- cgit 1.3.0-6-gf8a5