verifySignature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.00


|1.00|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Check if file is signed by an accepted key. |= Description
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| [[Boolean]] <nowiki>=</nowiki> '''verifySignature''' filename |= Syntax
|game4= tkoh
|version4= 1.00


|p1= filename: [[String]] |= Parameter 1
|game5= arma3
|version5= 0.50


| [[Boolean]] |= Return value
|gr1= Mods and Addons
____________________________________________________________________________________________


| |= See also
|descr= Check if file is signed by any key present in game keys folders. On clients, it does not check against the keys accepted by server.


}}
|s1= [[verifySignature]] filename
 
|p1= filename: [[String]]


<h3 style="display:none">Notes</h3>
|r1= [[Boolean]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>verifySignature "@MyAddon\Addons\SomeAddon.pbo";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|x2= <sqf>verifySignature "@MyAddon\Somefnc.dll";</sqf>


[[Category:Scripting Commands|VERIFYSIGNATURE]]
|seealso= [[ArmA: Addon Signatures]]
[[Category:Scripting Commands ArmA|VERIFYSIGNATURE]]
}}
[[Category:Scripting Commands ArmA2|VERIFYSIGNATURE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:25, 13 May 2022

Hover & click on the images for description

Description

Description:
Check if file is signed by any key present in game keys folders. On clients, it does not check against the keys accepted by server.
Groups:
Mods and Addons

Syntax

Syntax:
verifySignature filename
Parameters:
filename: String
Return Value:
Boolean

Examples

Example 1:
verifySignature "@MyAddon\Addons\SomeAddon.pbo";
Example 2:
verifySignature "@MyAddon\Somefnc.dll";

Additional Information

See also:
ArmA: Addon Signatures

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note