<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi team,<br>
    <br>
    I am developing <span style="color: rgb(0, 0, 0); font-family:
      Arial, Helvetica, FreeSans, sans-serif; font-size:
      13.63636302947998px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height:
      17.33333396911621px; orphans: auto; text-align: left; text-indent:
      0px; text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">The Malformed Certificates tests, this test  exist
      to test JDK's SSL  ability to withstand attack in the form of
      deliberately 1.3 million malformed ASN.1-encoded data.<br>
      Detail please refer test plan:
      <a class="moz-txt-link-freetext" href="http://wiki.se.oracle.com/display/JPG/Malformed+Certificates+Test+Plan">http://wiki.se.oracle.com/display/JPG/Malformed+Certificates+Test+Plan</a><br>
    </span>
    <p style="font-size: 13.63636302947998px; line-height:
      17.33333396911621px; color: rgb(0, 0, 0); font-weight: normal;
      margin: 10px 0px; padding: 0px; font-family: Arial, Helvetica,
      FreeSans, sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; orphans: auto; text-align: left;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">The idea is to "attack" an
      JDK SSL/SMIME process by sending it intentionally malformed
      certificates (or malformed SMIME messages), and ensure that the
      process under attack does not:</p>
    <ul style="font-size: 13.63636302947998px; line-height:
      17.33333396911621px; list-style-type: disc; color: rgb(0, 0, 0);
      font-family: Arial, Helvetica, FreeSans, sans-serif; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; orphans: auto; text-align: left; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">
      <li style="font-size: 10pt; line-height: 13pt; margin: 0px;
        padding: 0px;">crash</li>
      <li style="font-size: 10pt; line-height: 13pt; margin: 0px;
        padding: 0px;">leak</li>
      <li style="font-size: 10pt; line-height: 13pt; margin: 0px;
        padding: 0px;">accept any of the bad certs or messages as if
        they were good</li>
    </ul>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;">To do the Malformed Certificates tests
        with SSL certs, I should launch two JVM, one as "JDK under
        test", the other as "attack JDK",<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;">I want to use JDK8 as attack JDK, and
        this JDK should </span><span style="color: rgb(0, 0, 0);
        font-family: Arial, Helvetica, FreeSans, sans-serif; font-size:
        13.63636302947998px; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height:
        17.33333396911621px; orphans: auto; text-align: left;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;">be modified to allow use of invalid
        certificates, I have try to use following code to generate
        invalid certificate:</span><br>
      <span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;"><span style="color: rgb(0, 0, 0);
          font-family: Arial, FreeSans, Helvetica, sans-serif;
          font-size: 12.727272033691406px; font-style: normal;
          font-variant: normal; font-weight: normal; letter-spacing:
          normal; line-height: 15.454636573791504px; orphans: auto;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: auto; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(240,
          240, 240); display: inline !important; float: none;"> </span></span><span
        style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;"><span style="color: rgb(0, 0, 0);
          font-family: Arial, FreeSans, Helvetica, sans-serif;
          font-size: 12.727272033691406px; font-style: normal;
          font-variant: normal; font-weight: normal; letter-spacing:
          normal; line-height: 15.454636573791504px; orphans: auto;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: auto; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(240,
          240, 240); display: inline !important; float: none;"><span
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240); display: inline
            !important; float: none;">import java.io.FileInputStream;</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">import
            java.security.cert.CertificateFactory;</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">import
            java.security.cert.X509Certificate;</span><br style="color:
            rgb(0, 0, 0); font-family: Arial, FreeSans, Helvetica,
            sans-serif; font-size: 12.727272033691406px; font-style:
            normal; font-variant: normal; font-weight: normal;
            letter-spacing: normal; line-height: 15.454636573791504px;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            background-color: rgb(240, 240, 240);">
          <br style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">public
            class X509CertificateLoad {</span><br style="color: rgb(0,
            0, 0); font-family: Arial, FreeSans, Helvetica, sans-serif;
            font-size: 12.727272033691406px; font-style: normal;
            font-variant: normal; font-weight: normal; letter-spacing:
            normal; line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240);">
          <br style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">    /**</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">     *
            Load a X509 certificate from file.</span><br style="color:
            rgb(0, 0, 0); font-family: Arial, FreeSans, Helvetica,
            sans-serif; font-size: 12.727272033691406px; font-style:
            normal; font-variant: normal; font-weight: normal;
            letter-spacing: normal; line-height: 15.454636573791504px;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">     */</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">    public
            static void main(String[] args) throws Exception {</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">        FileInputStream
            fis = new FileInputStream(args[0]);</span><br style="color:
            rgb(0, 0, 0); font-family: Arial, FreeSans, Helvetica,
            sans-serif; font-size: 12.727272033691406px; font-style:
            normal; font-variant: normal; font-weight: normal;
            letter-spacing: normal; line-height: 15.454636573791504px;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-stroke-width: 0px;
            background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">        CertificateFactory
            cf = CertificateFactory.getInstance("X509");</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">        X509Certificate
            cert = (X509Certificate) cf.generateCertificate(fis);</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">        System.out.println("SUCCESS");</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">    }</span><br
            style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
            Helvetica, sans-serif; font-size: 12.727272033691406px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height:
            15.454636573791504px; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px; background-color: rgb(240, 240, 240);">
          <span style="color: rgb(0, 0, 0); font-family: Arial,
            FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240); display: inline !important; float: none;">}</span></span><span
          style="color: rgb(0, 0, 0); font-family: Arial, FreeSans,
          Helvetica, sans-serif; font-size: 12.727272033691406px;
          font-style: normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: 15.454636573791504px;
          orphans: auto; text-align: start; text-indent: 0px;
          text-transform: none; white-space: normal; widows: auto;
          word-spacing: 0px; -webkit-text-stroke-width: 0px;
          background-color: rgb(240, 240, 240); display: inline
          !important; float: none;"></span></span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;"><span style="color: rgb(0, 0, 0);
          font-family: Arial, FreeSans, Helvetica, sans-serif;
          font-size: 12.727272033691406px; font-style: normal;
          font-variant: normal; font-weight: normal; letter-spacing:
          normal; line-height: 15.454636573791504px; orphans: auto;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: auto; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(240,
          240, 240); display: inline !important; float: none;">got
          following error:<br style="color: rgb(0, 0, 0); font-family:
            Arial, FreeSans, Helvetica, sans-serif; font-size:
            12.727272033691406px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: 15.454636573791504px; orphans: auto;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(240,
            240, 240);">
        </span><span style="color: rgb(0, 0, 0); font-family: Arial,
          FreeSans, Helvetica, sans-serif; font-size:
          12.727272033691406px; font-style: normal; font-variant:
          normal; font-weight: normal; letter-spacing: normal;
          line-height: 15.454636573791504px; orphans: auto; text-align:
          start; text-indent: 0px; text-transform: none; white-space:
          normal; widows: auto; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(240,
          240, 240); display: inline !important; float: none;">        X509Certificate
          cert = (X509Certificate) cf.generateCertificate(fis);</span>java.lang.NegativeArraySizeException<br>
            at
sun.security.util.DerInputStream.getUnalignedBitString(DerInputStream.java:238)<br>
            at sun.security.x509.X509Key.parse(X509Key.java:171)<br>
            at
sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:75)<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;">Can you give some suggestion about how
        to bypass this kind of check to generator a certificate for
        invalid certificate? (I will use this invalid to attack normal
        JDK).<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;">Thanks<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;">Kevin<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
        FreeSans, sans-serif; font-size: 13.63636302947998px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17.33333396911621px;
        orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;"><br>
      </span></p>
    <br>
  </body>
</html>