从证书 x509 中提取公钥
问题描述:
我正在寻找一种方法从像这样的 javascript 证书 x509(PEM 格式)中提取公钥:
I am looking for a way to extract public key from certificate x509 (PEM format) in javascript like this one:
openssl x509 -in cert.cer -pubkey -noout > pub.txt