Allow DER encoding #1

已关闭
由 Ghost 于 2018-12-30 23:10:51 +00:00 打开 · 2 评论

Hi, it would be nice to have CSR in DER format supported. I saw a branch that has already worked on this feature. Any plan to merge it soon?

Hi, it would be nice to have CSR in DER format supported. I saw a branch that has already worked on this feature. Any plan to merge it soon?
管理员

You already can, I think.

var PEM = require('rsa-csr/lib/pem');

var der = PEM.parseBlock(pem).bytes;

Let me know if that doesn’t work (AFK at the moment).

You already can, I think. ```js var PEM = require('rsa-csr/lib/pem'); var der = PEM.parseBlock(pem).bytes; ``` Let me know if that doesn’t work (AFK at the moment).
作者

There is no parseBlock function on rsa-csr/lib/pem. BTW I was able to get a CSR in DER by using the rsaCSR.create function directly. Thanks.

There is no `parseBlock` function on `rsa-csr/lib/pem`. BTW I was able to get a CSR in DER by using the `rsaCSR.create` function directly. Thanks.
Ghost2019-01-02 22:17:24 +00:00 关闭此工单
登录 并参与到对话中。
未选择标签
2 名参与者
通知
到期时间
未设置到期时间。
依赖工单

没有设置依赖项。

参考:coolaj86/rsa-csr.js#1
没有提供说明。