Package org.bouncycastle.openpgp.test
Class ExSExprTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.openpgp.test.ExSExprTest
-
- All Implemented Interfaces:
org.bouncycastle.util.test.Test
public class ExSExprTest extends org.bouncycastle.util.test.SimpleTest
-
-
Constructor Summary
Constructors Constructor Description ExSExprTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()static voidmain(java.lang.String[] args)voidperformTest()voidtestBrainPoolCurves()voidtestDSAElgamalOpen()voidtestDSAProtected()voidtestECEdwardsOpen()voidtestECEdwardsProtected()voidtestECNistCurves()voidtestProtectedRSA()voidtestRSAOpen()voidtestShadowedRSA()voidvalidateDSAKey(PGPKeyPair keyPair)voidvalidateEcKey(PGPKeyPair keyPair)voidvalidateEdKey(PGPKeyPair keyPair)voidvalidateRSAKey(PGPKeyPair keyPair)
-
-
-
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:
getNamein interfaceorg.bouncycastle.util.test.Test- Specified by:
getNamein classorg.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:
performTestin classorg.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)
-
-