D
D
EVICE
RIVERS
authFile()
authFile()
90
M
X
800 S
P
ERIES
ROGRAMMERS
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
Pointer to the name of file to authenticate.
filename
Return Values
0
File is authenticated
< 0
File failed authentication
G
UIDE