de.flexiprovider.api.exceptions.InvalidKeySpecException

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.

    • de.flexiprovider.api.exceptions.InvalidKeySpecException: codec.asn1.ASN1Exception: ASN.1 type mismatch! Expected: codec.x509.AlgorithmIdentifier In : codec.pkcs8.PrivateKeyInfo At index: 1 Got tag : 4 and class: 0 at de.flexiprovider.ec.keys.ECKeyFactory.generatePrivate(ECKeyFactory.java:125) at de.flexiprovider.api.keys.KeyFactory.engineGeneratePrivate(KeyFactory.java:61) at java.security.KeyFactory.generatePrivate(KeyFactory.java:342) at TestClass.stringToKey(TestClass.java:70) at TestClass.main(TestClass.java:110)
    No Bugmate found.