Bouncy Castle Cryptography Library 1.71

org.bouncycastle.openpgp.test
Class ExSExprTest

java.lang.Object
  extended byorg.bouncycastle.util.test.SimpleTest
      extended byorg.bouncycastle.openpgp.test.ExSExprTest
All Implemented Interfaces:
org.bouncycastle.util.test.Test

public class ExSExprTest
extends org.bouncycastle.util.test.SimpleTest


Constructor Summary
ExSExprTest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 void testBrainPoolCurves()
           
 void testDSAElgamalOpen()
           
 void testDSAProtected()
           
 void testECEdwardsOpen()
           
 void testECEdwardsProtected()
           
 void testECNistCurves()
           
 void testProtectedRSA()
           
 void testRSAOpen()
           
 void testShadowedRSA()
           
 void validateDSAKey(PGPKeyPair keyPair)
           
 void validateEcKey(PGPKeyPair keyPair)
           
 void validateEdKey(PGPKeyPair keyPair)
           
 void validateRSAKey(PGPKeyPair keyPair)
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExSExprTest

public ExSExprTest()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()

testECNistCurves

public void testECNistCurves()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testBrainPoolCurves

public void testBrainPoolCurves()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testECEdwardsOpen

public void testECEdwardsOpen()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testECEdwardsProtected

public void testECEdwardsProtected()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testDSAElgamalOpen

public void testDSAElgamalOpen()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testDSAProtected

public void testDSAProtected()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testRSAOpen

public void testRSAOpen()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testProtectedRSA

public void testProtectedRSA()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testShadowedRSA

public void testShadowedRSA()
                     throws java.lang.Exception
Throws:
java.lang.Exception

performTest

public void performTest()
                 throws java.lang.Exception
Throws:
java.lang.Exception

validateDSAKey

public void validateDSAKey(PGPKeyPair keyPair)

validateEdKey

public void validateEdKey(PGPKeyPair keyPair)
                   throws java.lang.Exception
Throws:
java.lang.Exception

validateEcKey

public void validateEcKey(PGPKeyPair keyPair)
                   throws java.lang.Exception
Throws:
java.lang.Exception

validateRSAKey

public void validateRSAKey(PGPKeyPair keyPair)

Bouncy Castle Cryptography Library 1.71