Hmac.copy

Copies a #GHmac. If hmac has been closed, by calling glib.hmac.Hmac.getString or glib.hmac.Hmac.getDigest, the copied HMAC will be closed as well.

class Hmac
copy
()

Return Value

Type: glib.hmac.Hmac

the copy of the passed #GHmac. Use glib.hmac.Hmac.unref when finished using it.