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.xml20
1 files changed, 7 insertions, 13 deletions
diff --git a/doc/classes/HMACContext.xml b/doc/classes/HMACContext.xml
index 00d528ef8f..88d3c5e2f3 100644
--- a/doc/classes/HMACContext.xml
+++ b/doc/classes/HMACContext.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="HMACContext" inherits="Reference" version="4.0">
+<class name="HMACContext" inherits="RefCounted" version="4.0">
<brief_description>
Used to create an HMAC for a message using a key.
</brief_description>
@@ -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>