Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cryptix.jce.examples
Class RunSamples  view RunSamples download RunSamples.java

java.lang.Object
  extended bycryptix.jce.examples.RunSamples

public final class RunSamples
extends java.lang.Object

Base class for running implemented samples. Is there any provider independent way of getting all ciphers, mds? FIXME!


Constructor Summary
RunSamples()
           
 
Method Summary
private static boolean addProviderCryptix()
          Add provider cryptix dynamicly.
static void main(java.lang.String[] args)
          Starts the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunSamples

public RunSamples()
Method Detail

addProviderCryptix

private static boolean addProviderCryptix()
Add provider cryptix dynamicly. Due to the fact that each provider has its own location for the provider class I do not know how to create different provider instances dynamicly. E.g. one function for raising ABA, Cryptix, Forge or Entrust provider. But the few providers can be hardcoded, I think.


main

public static void main(java.lang.String[] args)
Starts the application. It instantiates a few other classes which do the really though job of showing usage of ciphers, MDs ...