org.mozilla.jss.tests
Class KeyStoreTest

java.lang.Object
  extended by org.mozilla.jss.tests.KeyStoreTest

public class KeyStoreTest
extends java.lang.Object


Constructor Summary
KeyStoreTest()
           
 
Method Summary
static void addKey(java.security.KeyStore ks, java.lang.String alias)
           
static void dumpAliases(java.security.KeyStore ks)
           
static void dumpCert(java.security.KeyStore ks, java.lang.String alias)
           
static void getCertByDER(java.security.KeyStore ks, java.lang.String derCertFilename)
           
static void getKey(java.security.KeyStore ks, java.lang.String alias)
           
static void isTrustedCert(java.security.KeyStore ks, java.lang.String alias)
           
static void main(java.lang.String[] argv)
           
static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreTest

public KeyStoreTest()
Method Detail

printUsage

public static void printUsage()

main

public static void main(java.lang.String[] argv)

dumpCert

public static void dumpCert(java.security.KeyStore ks,
                            java.lang.String alias)
                     throws java.lang.Throwable
Throws:
java.lang.Throwable

dumpAliases

public static void dumpAliases(java.security.KeyStore ks)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

getCertByDER

public static void getCertByDER(java.security.KeyStore ks,
                                java.lang.String derCertFilename)
                         throws java.lang.Throwable
Throws:
java.lang.Throwable

getKey

public static void getKey(java.security.KeyStore ks,
                          java.lang.String alias)
                   throws java.lang.Throwable
Throws:
java.lang.Throwable

isTrustedCert

public static void isTrustedCert(java.security.KeyStore ks,
                                 java.lang.String alias)
                          throws java.lang.Throwable
Throws:
java.lang.Throwable

addKey

public static void addKey(java.security.KeyStore ks,
                          java.lang.String alias)
                   throws java.lang.Throwable
Throws:
java.lang.Throwable