digital signature - Digitally Signing Vbscript with timestamp -
strcomputer = "." set objwmiservice = getobject("winmgmts:" &_ "{impersonationlevel=impersonate}!\\" & strcomputer & "\root\cimv2") set objsigner=createobject("scripting.signer") set objfso = createobject("scripting.filesystemobject") set objfolder = objfso.getfolder("f:\\code\\signedscripts") set collistoffiles = objfolder.files cert = "example" store = "root" each objfile in collistoffiles objsigner.signfile objfile, cert, store next
i using above script digitally sign vbscripts , need timestamp signed scripts. how use timestamp in script ?
Comments
Post a Comment