cryptix.provider

Class Install

final class Install extends Object

Installs Cryptix in the java.security file:
  1. If there is no java.security file, make one, and exit.

  2. Find the first value of n, starting at 1, for which a line of the form
    security.provider.n=*
    does not exist.

  3. If a property of the form
    security.provider.*=cryptix.provider.Cryptix
    was found during the previous step, exit.

  4. 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):

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 $

Since: Cryptix 2.2.2

Author: David Hopwood Raif S. Naffah

Constructor Summary
Install(PrintWriter out, String product_name, String provider_class, String version_string)
Method Summary
intgetErrorCode()
static voidmain(String[] args)
The entry point for this application.
voidrun()

Constructor Detail

Install

Install(PrintWriter out, String product_name, String provider_class, String version_string)

Method Detail

getErrorCode

int getErrorCode()

main

public static void main(String[] args)
The entry point for this application. No arguments are needed.

run

void run()