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

More restrictive ECPrivateKey parsing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: