Name
Apple Verifier
Synopsis
Apple Verifier is a program that verifies whether or not the files you open with it have been digitally signed. In Mac OS 9, you can find it in the startup disk:Applications:Security folder. Apple Code Signing is a security measure that gives the recipient of your code a way to verify if the code came from a certain software developer. Apple Code Signer (used to apply digital certificates to programs) is another security program that is only distributed with the Apple Security Software Development Kit (see the note earlier in this chapter for how to download this kit).
Syntax
tell app "Apple Verifier" open alias_to_signedFile end tell
Dictionary commands
-
open
alias
orlist
of aliases Apple Verifier has two commands, open and verify. Both commands apparently attempt to verify any digital signatures applied to the file, since the open command can result in the dialog window of Figure 12-2. The parameter for the open command is an
alias
or alist
of aliases:open alias "A2gig:fm db: pbwp.fm"
Figure 12-2. Apple Verifier open command can display this result-
verify
alias
orlist
of aliases The verify command could be used to verify the digital signatures of a folder full of files by using a
list
of aliases with verify, as in this example:set folPath to ((path to desktop as text) & "today") (* get path to folder of files to verify *) set folList to (list folder ...
Get AppleScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.