|
Bouncy Castle Cryptography Library 1.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.bouncycastle.pkcs.test.PfxPduTest
public class PfxPduTest
Constructor Summary | |
---|---|
PfxPduTest()
|
Method Summary | |
---|---|
static java.security.cert.X509Certificate |
createCert(java.security.PublicKey pubKey,
java.security.PrivateKey caPrivKey,
java.security.PublicKey caPubKey)
we generate a certificate signed by our CA's intermediate certficate |
static java.security.cert.X509Certificate |
createIntermediateCert(java.security.PublicKey pubKey,
java.security.PrivateKey caPrivKey,
java.security.cert.X509Certificate caCert)
we generate an intermediate certificate signed by our CA |
static java.security.cert.X509Certificate |
createMasterCert(java.security.PublicKey pubKey,
java.security.PrivateKey privKey)
we generate the CA's certificate |
void |
setUp()
|
void |
testEncryptedPrivateKeyInfo()
|
void |
testExceptions()
|
void |
testKeyBag()
|
void |
testPfxPdu()
|
void |
testPfxPduMac()
|
void |
testSafeBagRecovery()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PfxPduTest()
Method Detail |
---|
public static java.security.cert.X509Certificate createMasterCert(java.security.PublicKey pubKey, java.security.PrivateKey privKey) throws java.lang.Exception
java.lang.Exception
public static java.security.cert.X509Certificate createIntermediateCert(java.security.PublicKey pubKey, java.security.PrivateKey caPrivKey, java.security.cert.X509Certificate caCert) throws java.lang.Exception
java.lang.Exception
public static java.security.cert.X509Certificate createCert(java.security.PublicKey pubKey, java.security.PrivateKey caPrivKey, java.security.PublicKey caPubKey) throws java.lang.Exception
java.lang.Exception
public void setUp()
setUp
in class junit.framework.TestCase
public void testPfxPdu() throws java.lang.Exception
java.lang.Exception
public void testPfxPduMac() throws java.lang.Exception
java.lang.Exception
public void testEncryptedPrivateKeyInfo() throws java.lang.Exception
java.lang.Exception
public void testKeyBag() throws java.lang.Exception
java.lang.Exception
public void testSafeBagRecovery() throws java.lang.Exception
java.lang.Exception
public void testExceptions() throws java.lang.Exception
java.lang.Exception
|
Bouncy Castle Cryptography Library 1.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |