你知道这个错误的解决方案吗?
parsePublicKeyFromPem(String pemString) {
List<int> publicKey = decodePEM(pemString);
var asn1Parser = new ASN1Parser(publicKey);
var topLevelSeq = asn1Parser.nextObject() as ASN1Sequence;
...
}type 'ASN1Object' is not a subtype of type 'ASN1Sequence' in type cast谢谢。
发布于 2022-09-19 02:34:45
也许你应该删除标题中的关键字'RSA‘。我已经成功地完成了以下工作:更改您的“从”开始使用RSA公钥??“??”?开始使用公钥?
https://stackoverflow.com/questions/69298902
复制相似问题