org.jgroups.demos

Class KeyStoreGenerator


public class KeyStoreGenerator
extends java.lang.Object

Generates a keystore file that has a SecretKey in it. It is not possible to use the keytool JDk tool to achieve this. This is a simple way to generate a JCEKS format keystore and SecretKey. Usage is --alg ALGNAME --size ALGSIZE --storeName FILENAME --storePass PASSWORD --alias KEYALIAS Any of args are optional and will default to
Author:
S Woodcock

Method Summary

static SecretKey
initSymKey()
static void
main(String[] args)

Method Details

initSymKey

public static SecretKey initSymKey()
            throws Exception

main

public static void main(String[] args)

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.