java.lang.IllegalArgumentException: unknown object in getInstance: org.bouncycastle.asn1.ASN1Integer

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

    Verified boot keystore generateion failure

    Android Enthusiasts | 1 year ago | demonguy
    java.lang.IllegalArgumentException: unknown object in getInstance: org.bouncycastle.asn1.ASN1Integer
  2. 0

    GitHub comment 126#170024903

    GitHub | 1 year ago | vmesh
    java.lang.IllegalArgumentException: unknown object in getInstance: org.bouncycastle.asn1.ASN1Integer
  3. 0

    How to programmatically generate a client authentication certificate

    Stack Overflow | 3 years ago | Sam Sanders
    org.bouncycastle.pkcs.PKCSException: unable to read encrypted data: failed to construct sequence from byte[]: DER length more than 4 bytes: 79
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      unknown object in getInstance: org.bouncycastle.asn1.ASN1Integer

      at org.bouncycastle.asn1.ASN1Sequence.getInstance()
    2. BouncyCastle
      PrivateKeyInfo.getInstance
      1. org.bouncycastle.asn1.ASN1Sequence.getInstance(ASN1Sequence.java:98)
      2. org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance(AlgorithmIdentifier.java:47)
      3. org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>(PrivateKeyInfo.java:85)
      4. org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance(PrivateKeyInfo.java:45)
      4 frames
    3. com.android.verity
      BootKeystore.main
      1. com.android.verity.Utils.loadDERPrivateKey(Utils.java:173)
      2. com.android.verity.Utils.loadDERPrivateKeyFromFile(Utils.java:189)
      3. com.android.verity.BootKeystore.main(KeystoreSigner.java:203)
      3 frames