Package org.bouncycastle.openpgp.test
Class UnrecognizableSubkeyParserTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.openpgp.test.UnrecognizableSubkeyParserTest
- All Implemented Interfaces:
org.bouncycastle.util.test.Test
public class UnrecognizableSubkeyParserTest
extends org.bouncycastle.util.test.SimpleTest
This test checks how stable BCs
PGPPublicKeyRing
parser function is when it comes to unknown key algorithms.
The implementation should ignore unknown subkeys in order to be upwards compatible with future certificates.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
void
void
void
void
void
void
void
void
void
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
-
Constructor Details
-
UnrecognizableSubkeyParserTest
public UnrecognizableSubkeyParserTest()
-
-
Method Details
-
main
-
getName
- Specified by:
getName
in interfaceorg.bouncycastle.util.test.Test
- Specified by:
getName
in classorg.bouncycastle.util.test.SimpleTest
-
performTest
- Specified by:
performTest
in classorg.bouncycastle.util.test.SimpleTest
- Throws:
Exception
-
subkeyHasUnknownAlgo_MPIEncoding
- Throws:
IOException
-
subkeyHasUnknownAlgoOpaqueEncodingSmall
- Throws:
IOException
-
subkeyHasEcdsaUnknownCurveMPIEncoding
- Throws:
IOException
-
subkeyHasEcdsaUnknownCurveOpaqueEncodingSmall
- Throws:
IOException
-
subkeyHasEddsaUknownCurveMPIEncoding
- Throws:
IOException
-
subkeyHasEddsaUnknownCurveOpaqueEncodingSmall
- Throws:
IOException
-
subkeyHasEcdhUnknownCurveMPIEncoding
- Throws:
IOException
-
subkeyHasEcdhUnknownCurveOpaqueEncodingSmall
- Throws:
IOException
-