DEVICE DRIVERS
authFile()
90 M
X
800 SERIES PROGRAMMERS GUIDE
authFile()
This function checks if the specified file is authenticated.
Internally, the function performs two attempts to authenticate the file. If after the
first attempt, the file is not authenticated, the system searches for .CRT files in the
crt/ subdirectory in the current user home directory. It tries to add each
certificate file to the system certificate tree. Then a second attempt to authenticate
the specified file is performed.
Prototype
int authFile(const char *filename)
Parameters
Return Values
filename Pointer to the name of file to authenticate.
0 File is authenticated
< 0 File failed authentication