org.bouncycastle.jce.provider.test
Class PKCS12StoreTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.PKCS12StoreTest
- org.bouncycastle.util.test.Test
public class PKCS12StoreTest
extends org.bouncycastle.util.test.SimpleTest
Exercise the various key stores, making sure we at least get back what we put in!
This tests both the PKCS12 key store.
createCert
public Certificate createCert(PublicKey pubKey,
PrivateKey privKey)
throws Exception
we generate a self signed certificate for the sake of testing - RSA
getName
public String getName()
- getName in interface org.bouncycastle.util.test.Test
- getName in interface org.bouncycastle.util.test.SimpleTest
main
public static void main(String[] args)
performTest
public void performTest()
throws Exception
- performTest in interface org.bouncycastle.util.test.SimpleTest
testPKCS12Store
public void testPKCS12Store()
throws Exception