cryptix.provider
Class Install

java.lang.Object
  |
  +--cryptix.provider.Install

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 $

Since:
Cryptix 2.2.2
Author:
David Hopwood, Raif S. Naffah

Constructor Summary
(package private) Install(java.io.PrintWriter out, java.lang.String product_name, java.lang.String provider_class, java.lang.String version_string)
           
 
Method Summary
(package private)  int getErrorCode()
           
static void main(java.lang.String[] args)
          The entry point for this application.
(package private)  void run()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Install

Install(java.io.PrintWriter out,
        java.lang.String product_name,
        java.lang.String provider_class,
        java.lang.String version_string)
Method Detail

main

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

getErrorCode

int getErrorCode()

run

void run()