Initial commit
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
const oids = require('./oids')
|
||||
|
||||
module.exports = function () {
|
||||
this.seq().obj(
|
||||
this.key('version').int(),
|
||||
this.key('privateKey').octstr(),
|
||||
this.key('parameters').explicit(0).optional().choice({ namedCurve: this.objid(oids) }),
|
||||
this.key('publicKey').explicit(1).optional().bitstr()
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user