code:     public void derIntegerTest()
          throws Exception
      {
          try
          {
              new ASN1Integer(new byte[] { 0, 0, 0, 1});
          }
          catch (IllegalArgumentException e)
          {
              isTrue("wrong exc", "malformed integer".equals(e.getMessage()));
          }
  
          try
          {
              new ASN1Integer(new byte[] {(byte)0xff, (byte)0x80, 0, 1});
          }
          catch (IllegalArgumentException e)
          {
              isTrue("wrong exc", "malformed integer".equals(e.getMessage()));
          }
  
          try
          {
              new ASN1Enumerated(new byte[] { 0, 0, 0, 1});
          }
          catch (IllegalArgumentException e)
          {
              isTrue("wrong exc", "malformed enumerated".equals(e.getMessage()));
          }
  
          try
          {
              new ASN1Enumerated(new byte[] {(byte)0xff, (byte)0x80, 0, 1});
          }
          catch (IllegalArgumentException e)
          {
              isTrue("wrong exc", "malformed enumerated".equals(e.getMessage()));
          }
      }
  
  