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.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)
-
-
-
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 interfaceorg.bouncycastle.util.test.Test
- Specified by:
getName
in 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:
performTest
in 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)
-
-