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

JCE doesn't provide any class to handle RSA private key in PKCS#1

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7, 8
    • Fix Version/s: 17
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06
    • OS:
      generic

      Backports

        Description

        A DESCRIPTION OF THE REQUEST :
        There is no way to read RSA private key in PKCS #1 using Sun JCE. The feature is available in BouncyCastle.

        JUSTIFICATION :
        The PKCS#1 encoded private key is faster because it contains CRT parameters. Lots people have to convert their keys to PKCS #8, losing CRT.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Add a factory to read PKCS#1 encoded private key
        ACTUAL -
        No such factory.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                valeriep Valerie Peng
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: