Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236052

More restrictive ECPrivateKey parsing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      ECPrivateKey ::= SEQUENCE {
         version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
         privateKey OCTET STRING,
         parameters [0] ECDomainParameters {{ SECGCurveNames }} OPTIONAL,
         publicKey [1] BIT STRING OPTIONAL
      }

      We now do not care about the order of [0] and [1], allow multiple copies of them, and allow extra data.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: