cryptix.provider
Class Install
(package private) final class Install
extends java.lang.Object
Installs Cryptix in the java.security file:
- If there is no java.security file, make one, and exit.
- Find the first value of n, starting at 1, for which a line
of the form
security.provider.n=*
does not exist.
- If a property of the form
security.provider.*=cryptix.provider.Cryptix
was found during the previous step, exit.
- Add the following line to the end of the file:
# Added by Cryptix-Java x.x.x installation program:
security.provider.n=cryptix.provider.Cryptix
An error code is returned as follows (see the source for the values of these
constants):
- INSTALLED - the provider was installed by this program.
- ALREADY_INSTALLED - the provider was already installed.
- NOT_INSTALLED - the provider was not installed (for example because
the java.security file was not readable or writable).
SECURITY: this class must be package-private, since untrusted code should not
be able to run it.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.9 $
- David Hopwood
- Raif S. Naffah
Install(PrintWriter out, String product_name, String provider_class, String version_string)
|
(package private) int | getErrorCode()
|
static void | main(String[] args) - The entry point for this application.
|
(package private) void | run()
|
Install
(package private) Install(PrintWriter out,
String product_name,
String provider_class,
String version_string)
getErrorCode
(package private) int getErrorCode()
main
public static void main(String[] args)
The entry point for this application. No arguments are needed.
run
(package private) void run()