sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE

xml-security-dev | Barbara Schachner | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to use xmlsec with pkcs11 tokens

    xml-security-dev | 1 decade ago | Barbara Schachner
    sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE

    Root Cause Analysis

    1. sun.security.pkcs11.wrapper.PKCS11Exception

      CKR_ATTRIBUTE_SENSITIVE

      at sun.security.pkcs11.P11Key.fetchAttributes()
    2. sun.security.pkcs11
      P11RSAKeyFactory.implTranslatePrivateKey
      1. sun.security.pkcs11.P11Key.fetchAttributes(P11Key.java:215)
      2. sun.security.pkcs11.P11Key$P11RSAPrivateKey.fetchValues(P11Key.java:416)
      3. sun.security.pkcs11.P11Key$P11RSAPrivateKey.getModulus(P11Key.java:448)
      4. sun.security.pkcs11.P11RSAKeyFactory.implTranslatePrivateKey(P11RSAKeyFactory.java:60)
      4 frames