java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 15#231573054
    via GitHub by ghks1353
    ,
  • Android IAB InvalidKeySpecException
    via Stack Overflow by hakim
    ,
  • [4.8P2 OSX] Launch on Android - UE4 AnswerHub
    via by Unknown author,
  • Android Encrypting String using RSA Public key
    via Stack Overflow by Chandru
    ,
    • java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag at com.doitflash.inAppBilling.utils.Security.generatePublicKey(Security.java:95) at com.doitflash.inAppBilling.utils.Security.verifyPurchase(Security.java:69) at com.doitflash.inAppBilling.utils.IabHelper.queryPurchases(IabHelper.java:1002) at com.doitflash.inAppBilling.utils.IabHelper.queryInventory(IabHelper.java:585) at com.doitflash.inAppBilling.utils.IabHelper.queryInventory(IabHelper.java:562) at com.doitflash.inAppBilling.utils.IabHelper$2.run(IabHelper.java:681) at java.lang.Thread.run(Thread.java:818) Caused by: java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag at com.android.org.conscrypt.OpenSSLKey.getPublicKey(OpenSSLKey.java:143) at com.android.org.conscrypt.OpenSSLRSAKeyFactory.engineGeneratePublic(OpenSSLRSAKeyFactory.java:47) at java.security.KeyFactory.generatePublic(KeyFactory.java:172) at com.doitflash.inAppBilling.utils.Security.generatePublicKey(Security.java:86) ... 6 more Caused by: java.lang.RuntimeException: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag at com.android.org.conscrypt.NativeCrypto.d2i_PUBKEY(Native Method) at com.android.org.conscrypt.OpenSSLKey.getPublicKey(OpenSSLKey.java:141) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,