Class ASN1IntegerTest

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

public class ASN1IntegerTest extends SimpleTest
  • Constructor Details

    • ASN1IntegerTest

      public ASN1IntegerTest()
  • Method Details

    • 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
    • testValidEncodingSingleByte

      public void testValidEncodingSingleByte() throws Exception
      Ensure existing single byte behavior.
      Throws:
      Exception
    • testValidEncodingMultiByte

      public void testValidEncodingMultiByte() throws Exception
      Throws:
      Exception
    • testInvalidEncoding_00

      public void testInvalidEncoding_00() throws Exception
      Throws:
      Exception
    • testInvalidEncoding_ff

      public void testInvalidEncoding_ff() throws Exception
      Throws:
      Exception
    • testInvalidEncoding_00_32bits

      public void testInvalidEncoding_00_32bits() throws Exception
      Throws:
      Exception
    • testInvalidEncoding_ff_32bits

      public void testInvalidEncoding_ff_32bits() throws Exception
      Throws:
      Exception
    • testLooseValidEncoding_zero_32BAligned

      public void testLooseValidEncoding_zero_32BAligned() throws Exception
      Throws:
      Exception
    • testLooseValidEncoding_FF_32BAligned

      public void testLooseValidEncoding_FF_32BAligned() throws Exception
      Throws:
      Exception
    • testLooseValidEncoding_FF_32BAligned_1not0

      public void testLooseValidEncoding_FF_32BAligned_1not0() throws Exception
      Throws:
      Exception
    • testLooseValidEncoding_FF_32BAligned_2not0

      public void testLooseValidEncoding_FF_32BAligned_2not0() throws Exception
      Throws:
      Exception
    • testOversizedEncoding

      public void testOversizedEncoding() throws Exception
      Throws:
      Exception
    • main

      public static void main(String[] args)