java.security.InvalidKeyException: not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47c1db

xml-security-dev | t. winkler | 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

    XML Signature with Apache AXIS Problem-content.x509.XMLX509Certificate - Keystore

    xml-security-dev | 1 decade ago | t. winkler
    java.security.InvalidKeyException: not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47c1db
  2. 0

    0005544: Use "EC" not "ECDSA" - MantisBT

    freenetproject.org | 10 months ago
    java.security.InvalidKeyException: can't recognise key type in ECDSA based signer at org.bouncycastle.jcajce.provider.asymmetric.ec.SignatureSpi.engineInitSign(Unknown Source)
  3. 0

    iText - SunPKC11 Exception when signing PDF

    nabble.com | 7 months ago
    java.security.InvalidKeyException: Private keys must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    text.xml.security.devel - DO NOT REPLY [Bug 40826] - Private keys must be instance of RSAPrivate or have PKCS#8 encoding - msg#00056 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    javax.xml.crypto.dsig.XMLSignatureException: java.security.InvalidKeyException: Private keys must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding
  6. 0

    Questions and discussions about iText

    gmane.org | 9 months ago
    java.security.InvalidKeyException: Private keys must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.InvalidKeyException

      not a DSA private key: com.sun.net.ssl.internal.ssl.JSA_RSAPrivateKey@47c1db

      at sun.security.provider.DSA.engineInitSign()
    2. Java RT
      Signature.initSign
      1. sun.security.provider.DSA.engineInitSign(Unknown Source)
      2. java.security.Signature.initSign(Unknown Source)
      2 frames
    3. Apache XML Security for Java
      XMLSignature.sign
      1. org.apache.xml.security.algorithms.implementations.SignatureDSA.engineInitSign(SignatureDSA.java:278)
      2. org.apache.xml.security.algorithms.SignatureAlgorithm.initSign(SignatureAlgorithm.java:296)
      3. org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:524)
      3 frames
    4. wsumsatz
      SignatureHandler_Clientside.invoke
      1. wsumsatz.SignedSOAPEnvelope.init(SignedSOAPEnvelope.java:108)
      2. wsumsatz.SignedSOAPEnvelope.<init>(SignedSOAPEnvelope.java:62)
      3. wsumsatz.SignatureHandler_Clientside.invoke(SignatureHandler_Clientside.java:46)
      3 frames
    5. Axis Web Services
      Call.invoke
      1. org.apache.axis.client.AxisClient.invoke(AxisClient.java:163)
      2. org.apache.axis.client.Call.invokeEngine(Call.java:2113)
      3. org.apache.axis.client.Call.invoke(Call.java:2102)
      4. org.apache.axis.client.Call.invoke(Call.java:1851)
      5. org.apache.axis.client.Call.invoke(Call.java:1777)
      6. org.apache.axis.client.Call.invoke(Call.java:1315)
      6 frames
    6. wsumsatz
      Client.main
      1. wsumsatz.Client.main(Client.java:46)
      1 frame