org.bouncycastle.jce.provider.test
Class PKCS12StoreTest
java.lang.Object
org.bouncycastle.jce.provider.test.PKCS12StoreTest
- Test
public class PKCS12StoreTest
extends java.lang.Object
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 Test
main
public static void main(String[] args)
testPKCS12Store
public TestResult testPKCS12Store()