verifySignature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|version1= 1.00


|1.00
|game2= arma2
|version2= 1.00
 
|game3= arma2oa
|version3= 1.50
 
|game4= tkoh
|version4= 1.00
 
|game5= arma3
|version5= 0.50


|gr1= Mods and Addons
|gr1= Mods and Addons


| Check if file is signed by any key present in game keys folders. Note: On client, it does not check against the keys accepted by server.
|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.


| [[Boolean]] <nowiki>=</nowiki> '''verifySignature''' filename
|s1= [[verifySignature]] filename


|p1= filename: [[String]]
|p1= filename: [[String]]


| [[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[verifySignature]] "@MyAddon\Addons\SomeAddon.pbo";</code>
|x1= <sqf>verifySignature "@MyAddon\Addons\SomeAddon.pbo";</sqf>


|x2= <code>[[verifySignature]] "@MyAddon\Somefnc.dll";</code>
|x2= <sqf>verifySignature "@MyAddon\Somefnc.dll";</sqf>


| [[ArmA: Addon Signatures]]
|seealso= [[ArmA: Addon Signatures]]
}}
}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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