net.jradius.util
Class KeyStoreUtil

java.lang.Object
  extended by net.jradius.util.KeyStoreUtil

public class KeyStoreUtil
extends Object


Constructor Summary
KeyStoreUtil()
           
 
Method Summary
static void loadBC()
           
static X509Certificate loadCertificateFromPEM(InputStream in, char[] pwd)
           
static KeyManager[] loadKeyManager(String type, InputStream in, String password)
           
static TrustManager[] loadTrustManager(String type, InputStream in, String password)
           
static TrustManager[] trustAllManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreUtil

public KeyStoreUtil()
Method Detail

loadBC

public static void loadBC()

loadKeyManager

public static KeyManager[] loadKeyManager(String type,
                                          InputStream in,
                                          String password)
                                   throws Exception
Throws:
Exception

loadCertificateFromPEM

public static X509Certificate loadCertificateFromPEM(InputStream in,
                                                     char[] pwd)
                                              throws Exception
Throws:
Exception

loadTrustManager

public static TrustManager[] loadTrustManager(String type,
                                              InputStream in,
                                              String password)
                                       throws Exception
Throws:
Exception

trustAllManager

public static TrustManager[] trustAllManager()


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.