Package org.bouncycastle.asn1.test
Class DLExternalTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.asn1.test.DLExternalTest
- All Implemented Interfaces:
Test
Class checking the correct functionality of DLExternal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
Main method to start testing manually outside productionvoid
void
Checks that the values are correctly instantiatedvoid
Checks that a DLExternal is created from DER encoded bytes correctly.
-
Constructor Details
-
DLExternalTest
public DLExternalTest()
-
-
Method Details
-
testInstantiationByVector
Checks that the values are correctly instantiated- Throws:
Exception
- Will be thrown if there was an error while performing the test
-
testReadEncoded
Checks that a DLExternal is created from DER encoded bytes correctly. This is done by creating the DER encoded data by usinggetEncoded
- Throws:
Exception
- Will be thrown if there was an error while performing the test
-
getName
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
- Specified by:
performTest
in classSimpleTest
- Throws:
Exception
-
main
Main method to start testing manually outside production- Parameters:
args
- Calling arguments (not used here)
-