org.bouncycastle.jce.provider.test
Class ImplicitlyCaTest

java.lang.Object
  extended by org.bouncycastle.util.test.SimpleTest
      extended by org.bouncycastle.jce.provider.test.ImplicitlyCaTest
All Implemented Interfaces:
Test

public class ImplicitlyCaTest
extends SimpleTest


Field Summary
(package private)  byte[] k1
           
(package private)  byte[] k2
           
(package private)  java.security.SecureRandom random
           
 
Constructor Summary
ImplicitlyCaTest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
private  void testBasicThreadLocal()
           
private  void testBCAPI()
           
private  void testBCParamsAndQ(ECPrivateKey sKey, ECPublicKey vKey)
           
private  void testEC5Params(ECPrivateKey sKey, ECPublicKey vKey)
           
private  void testECDSA(ECPrivateKey sKey, ECPublicKey vKey)
           
private  void testEncoding(ECPrivateKey privKey, ECPublicKey pubKey)
           
private  void testJDKAPI()
           
private  void testKeyFactory()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, fail, fail, fail, perform, runTest, runTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

k1

byte[] k1

k2

byte[] k2

random

java.security.SecureRandom random
Constructor Detail

ImplicitlyCaTest

public ImplicitlyCaTest()
Method Detail

performTest

public void performTest()
                 throws java.lang.Exception
Specified by:
performTest in class SimpleTest
Throws:
java.lang.Exception

testBCAPI

private void testBCAPI()
                throws java.lang.Exception
Throws:
java.lang.Exception

testKeyFactory

private void testKeyFactory()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testJDKAPI

private void testJDKAPI()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testBasicThreadLocal

private void testBasicThreadLocal()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testECDSA

private void testECDSA(ECPrivateKey sKey,
                       ECPublicKey vKey)
                throws java.lang.Exception
Throws:
java.lang.Exception

testEncoding

private void testEncoding(ECPrivateKey privKey,
                          ECPublicKey pubKey)
                   throws java.lang.Exception
Throws:
java.lang.Exception

testBCParamsAndQ

private void testBCParamsAndQ(ECPrivateKey sKey,
                              ECPublicKey vKey)

testEC5Params

private void testEC5Params(ECPrivateKey sKey,
                           ECPublicKey vKey)

getName

public java.lang.String getName()
Specified by:
getName in interface Test
Specified by:
getName in class SimpleTest

main

public static void main(java.lang.String[] args)