org.bouncycastle.jce.provider.test
Class BCFKSStoreTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.BCFKSStoreTest
- All Implemented Interfaces:
- Test
- public class BCFKSStoreTest
- extends SimpleTest
Exercise the BCFKS KeyStore,
Methods inherited from class org.bouncycastle.util.test.SimpleTest |
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, 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 |
BCFKSStoreTest
public BCFKSStoreTest()
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)