Class ExSExprTest

  • All Implemented Interfaces:
    org.bouncycastle.util.test.Test

    public class ExSExprTest
    extends org.bouncycastle.util.test.SimpleTest
    • 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()
        Specified by:
        getName in interface org.bouncycastle.util.test.Test
        Specified by:
        getName in class org.bouncycastle.util.test.SimpleTest
      • 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
        Specified by:
        performTest in class org.bouncycastle.util.test.SimpleTest
        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)