android.security.KeyStoreException: Incompatible padding mode

osdir.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    android.security.KeyStoreException: Incompatible purpose

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

    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