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 voidMain method to start testing manually outside productionvoidvoidChecks that the values are correctly instantiatedvoidChecks 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:
getNamein interfaceTest- Specified by:
getNamein classSimpleTest
-
performTest
- Specified by:
performTestin classSimpleTest- Throws:
Exception
-
main
Main method to start testing manually outside production- Parameters:
args- Calling arguments (not used here)
-