|
Bouncy Castle Cryptography 1.11 API Specification: Class PKCS12StoreTest
org.bouncycastle.jce.provider.test
Class PKCS12StoreTest
java.lang.Object
|
+--org.bouncycastle.jce.provider.test.PKCS12StoreTest
- All Implemented Interfaces:
- Test
- public class PKCS12StoreTest
- extends java.lang.Object
- implements Test
Exercise the various key stores, making sure we at least get back what we put in!
This tests both the PKCS12 key store.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PKCS12StoreTest
public PKCS12StoreTest()
createCert
public java.security.cert.Certificate createCert(java.security.PublicKey pubKey,
java.security.PrivateKey privKey)
throws java.lang.Exception
- we generate a self signed certificate for the sake of testing - RSA
testPKCS12Store
public TestResult testPKCS12Store()
getName
public java.lang.String getName()
- Specified by:
getName in interface Test
perform
public TestResult perform()
- Specified by:
perform in interface Test
main
public static void main(java.lang.String[] args)
|