Use ASN1InputStream.readObject() instead of ASN1Primitive.fromByteArray()