android.security.KeyStoreException: Incompatible padding mode

osdir.com | 4 months ago
  1. 0

    android.security.KeyStoreException: Incompatible purpose

    Stack Overflow | 8 months ago | Ankis
    android.security.KeyStoreException: Incompatible purpose
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. android.security.KeyStoreException

      Incompatible padding mode

      at android.security.KeyStore.getKeyStoreException()
    2. Android Platform
      KeyStore.getInvalidKeyException
      1. android.security.KeyStore.getKeyStoreException(KeyStore.java:632)
      2. android.security.KeyStore.getInvalidKeyException(KeyStore.java:712)
      2 frames
    3. android.security.keystore
      AndroidKeyStoreSignatureSpiBase.engineInitSign
      1. android.security.keystore.KeyStoreCryptoOperationUtils.getInvalidKeyExceptionForInit(KeyStoreCryptoOperationUtils.java:54)
      2. android.security.keystore.AndroidKeyStoreSignatureSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreSignatureSpiBase.java:219)
      3. android.security.keystore.AndroidKeyStoreSignatureSpiBase.engineInitSign(AndroidKeyStoreSignatureSpiBase.java:99)
      4. android.security.keystore.AndroidKeyStoreSignatureSpiBase.engineInitSign(AndroidKeyStoreSignatureSpiBase.java:77)
      4 frames
    4. Java RT
      Signature.initSign
      1. java.security.Signature$SignatureImpl.engineInitSign(Signature.java:706)
      2. java.security.Signature.initSign(Signature.java:357)
      2 frames
    5. au.com.taylornetworks
      keystoreContentSigner.getSignature
      1. au.com.taylornetworks.tapid.keystoreContentSigner.getSignature(keystoreContentSigner.java:69)
      1 frame
    6. Spongy Castle
      PKCS10CertificationRequestBuilder.build
      1. org.spongycastle.pkcs.PKCS10CertificationRequestBuilder.build(PKCS10CertificationRequestBuilder.java:149)
      1 frame
    7. au.com.taylornetworks
      MainActivity.createAndShowCSR
      1. au.com.taylornetworks.tapid.pkiManager.generateCSR(pkiManager.java:78)
      2. au.com.taylornetworks.tapid.MainActivity.createAndShowCSR(MainActivity.java:42)
      2 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    9. Android v7
      AppCompatViewInflater$DeclaredOnClickListener.onClick
      1. android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:270)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5204)
      2. android.view.View$PerformClick.run(View.java:21153)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:148)
      6. android.app.ActivityThread.main(ActivityThread.java:5417)
      6 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    12. Android
      ZygoteInit$MethodAndArgsCaller.run
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      1 frame