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

store a NSS PKCS11 PrivateKeyEntry to JKS KeyStore throws confusing NPE

    XMLWordPrintable

Details

    • b85
    • sparc
    • solaris_10

    Description

      if you want to store a PrivateKeyEntry previously taken out of a NSS PKCS11 keystore into a JKS keystore, the key material will be taken out and reprotected. since a NSS PrivateKey is sensitive, getEncoded() will return null. setEntry() will finally throw out a NPE instead of a KeyStoreException that explains why.

      ###@###.### 2005-05-13 04:03:43 GMT

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: