Bouncy Castle Cryptography Library 1.66

org.bouncycastle.jce.provider.test
Class BCFKSStoreTest

java.lang.Object
  extended byorg.bouncycastle.util.test.SimpleTest
      extended byorg.bouncycastle.jce.provider.test.BCFKSStoreTest
All Implemented Interfaces:
Test

public class BCFKSStoreTest
extends SimpleTest

Exercise the BCFKS KeyStore,


Constructor Summary
BCFKSStoreTest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 void shouldCreateEmptyBCFKSNoPassword()
           
 void shouldCreateEmptyBCFKSPassword()
           
 void shouldRejectInconsistentKeys()
           
 void shouldStoreMultipleKeys()
           
 void shouldStoreOneCertificate()
           
 void shouldStoreOneECKeyWithChain()
           
 void shouldStoreOnePrivateKey()
           
 void shouldStoreOnePrivateKeyWithChain()
           
 void shouldStoreOneSecretKey()
           
 void shouldStoreSecretKeys()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCFKSStoreTest

public BCFKSStoreTest()
Method Detail

shouldCreateEmptyBCFKSNoPassword

public void shouldCreateEmptyBCFKSNoPassword()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

shouldCreateEmptyBCFKSPassword

public void shouldCreateEmptyBCFKSPassword()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreOneCertificate

public void shouldStoreOneCertificate()
                               throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreOnePrivateKey

public void shouldStoreOnePrivateKey()
                              throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreOnePrivateKeyWithChain

public void shouldStoreOnePrivateKeyWithChain()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreOneECKeyWithChain

public void shouldStoreOneECKeyWithChain()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

shouldRejectInconsistentKeys

public void shouldRejectInconsistentKeys()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreMultipleKeys

public void shouldStoreMultipleKeys()
                             throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreSecretKeys

public void shouldStoreSecretKeys()
                           throws java.lang.Exception
Throws:
java.lang.Exception

shouldStoreOneSecretKey

public void shouldStoreOneSecretKey()
                             throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()
Specified by:
getName in interface Test
Specified by:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Specified by:
performTest in class SimpleTest
Throws:
java.lang.Exception

main

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

Bouncy Castle Cryptography Library 1.66