You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




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