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

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

    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