Class DLExternalTest

java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.asn1.test.DLExternalTest
All Implemented Interfaces:
Test

public class DLExternalTest extends SimpleTest
Class checking the correct functionality of DLExternal
  • Constructor Details

    • DLExternalTest

      public DLExternalTest()
  • Method Details

    • testInstantiationByVector

      public void testInstantiationByVector() throws Exception
      Checks that the values are correctly instantiated
      Throws:
      Exception - Will be thrown if there was an error while performing the test
    • testReadEncoded

      public void testReadEncoded() throws Exception
      Checks that a DLExternal is created from DER encoded bytes correctly. This is done by creating the DER encoded data by using getEncoded
      Throws:
      Exception - Will be thrown if there was an error while performing the test
    • getName

      public String getName()
      Specified by:
      getName in interface Test
      Specified by:
      getName in class SimpleTest
    • performTest

      public void performTest() throws Exception
      Specified by:
      performTest in class SimpleTest
      Throws:
      Exception
    • main

      public static void main(String[] args)
      Main method to start testing manually outside production
      Parameters:
      args - Calling arguments (not used here)