org.bouncycastle.jce.provider.test

Class PKCS12StoreTest

public class PKCS12StoreTest extends SimpleTest

Exercise the various key stores, making sure we at least get back what we put in!

This tests both the PKCS12 key store.

Method Summary
CertificatecreateCert(PublicKey pubKey, PrivateKey privKey)
we generate a self signed certificate for the sake of testing - RSA
StringgetName()
static voidmain(String[] args)
voidperformTest()
voidtestPKCS12Store()

Method Detail

createCert

public Certificate createCert(PublicKey pubKey, PrivateKey privKey)
we generate a self signed certificate for the sake of testing - RSA

getName

public String getName()

main

public static void main(String[] args)

performTest

public void performTest()

testPKCS12Store

public void testPKCS12Store()