copy

fun copy(): Hmac(source)

Copies a #GHmac. If @hmac has been closed, by calling g_hmac_get_string() or g_hmac_get_digest(), the copied HMAC will be closed as well.

Return

the copy of the passed #GHmac. Use g_hmac_unref() when finished using it.

Since

2.30