Class ASN1IntegerTest

  • All Implemented Interfaces:
    Test

    public class ASN1IntegerTest
    extends SimpleTest
    • Constructor Detail

      • ASN1IntegerTest

        public ASN1IntegerTest()
    • Method Detail

      • performTest

        public void performTest()
                         throws java.lang.Exception
        Specified by:
        performTest in class SimpleTest
        Throws:
        java.lang.Exception
      • testValidEncodingSingleByte

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

        public void testValidEncodingMultiByte()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInvalidEncoding_00

        public void testInvalidEncoding_00()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInvalidEncoding_ff

        public void testInvalidEncoding_ff()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInvalidEncoding_00_32bits

        public void testInvalidEncoding_00_32bits()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInvalidEncoding_ff_32bits

        public void testInvalidEncoding_ff_32bits()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLooseValidEncoding_zero_32BAligned

        public void testLooseValidEncoding_zero_32BAligned()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLooseValidEncoding_FF_32BAligned

        public void testLooseValidEncoding_FF_32BAligned()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLooseValidEncoding_FF_32BAligned_1not0

        public void testLooseValidEncoding_FF_32BAligned_1not0()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLooseValidEncoding_FF_32BAligned_2not0

        public void testLooseValidEncoding_FF_32BAligned_2not0()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOversizedEncoding

        public void testOversizedEncoding()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)