org.jboss.netty.example.securechat
Class SecureChatKeyStore

java.lang.Object
  extended by org.jboss.netty.example.securechat.SecureChatKeyStore

public class SecureChatKeyStore
extends Object

A bogus key store which provides all the required information to create an example SSL connection. To generate a bogus key store:

 keytool  -genkey -alias securechat -keysize 2048 -validity 36500
          -keyalg RSA -dname "CN=securechat"
          -keypass secret -storepass secret
          -keystore cert.jks
 

Version:
$Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
Author:
The Netty Project, Trustin Lee

Method Summary
static InputStream asInputStream()
           
static char[] getCertificatePassword()
           
static char[] getKeyStorePassword()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asInputStream

public static InputStream asInputStream()

getCertificatePassword

public static char[] getCertificatePassword()

getKeyStorePassword

public static char[] getKeyStorePassword()


Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.