cryptix.provider

Class Install


(package private) final class Install
extends java.lang.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 $

Authors:
David Hopwood
Raif S. Naffah

Since:
Cryptix 2.2.2

Constructor Summary

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

Method Summary

(package private) int
getErrorCode()
static void
main(String[] args)
The entry point for this application.
(package private) void
run()

Constructor Details

Install

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

Method Details

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()