summaryrefslogtreecommitdiff
path: root/doc/classes/HMACContext.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/HMACContext.xml')
-rw-r--r--doc/classes/HMACContext.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/doc/classes/HMACContext.xml b/doc/classes/HMACContext.xml
index 9fa96e5ddf..88d3c5e2f3 100644
--- a/doc/classes/HMACContext.xml
+++ b/doc/classes/HMACContext.xml
@@ -56,28 +56,22 @@
</tutorials>
<methods>
<method name="finish">
- <return type="PackedByteArray">
- </return>
+ <return type="PackedByteArray" />
<description>
Returns the resulting HMAC. If the HMAC failed, an empty [PackedByteArray] is returned.
</description>
</method>
<method name="start">
- <return type="int" enum="Error">
- </return>
- <argument index="0" name="hash_type" type="int" enum="HashingContext.HashType">
- </argument>
- <argument index="1" name="key" type="PackedByteArray">
- </argument>
+ <return type="int" enum="Error" />
+ <argument index="0" name="hash_type" type="int" enum="HashingContext.HashType" />
+ <argument index="1" name="key" type="PackedByteArray" />
<description>
Initializes the HMACContext. This method cannot be called again on the same HMACContext until [method finish] has been called.
</description>
</method>
<method name="update">
- <return type="int" enum="Error">
- </return>
- <argument index="0" name="data" type="PackedByteArray">
- </argument>
+ <return type="int" enum="Error" />
+ <argument index="0" name="data" type="PackedByteArray" />
<description>
Updates the message to be HMACed. This can be called multiple times before [method finish] is called to append [code]data[/code] to the message, but cannot be called until [method start] has been called.
</description>