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

    • b06
    • generic

        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.

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

                Created:
                Updated:
                Resolved: