WIP more asn1
This commit is contained in:
parent
ab8ec9fa7c
commit
afec646eb1
|
@ -305,7 +305,7 @@ function createCsrBodyEc(domains, xy) {
|
|||
, ASN1('06', '55 1D 11')
|
||||
, ASN1('04'
|
||||
, ASN1('30', domains.map(function (d) {
|
||||
return csrDomains.replace(/{dlen}/, numToHex(d.length)).replace(/{domain\.tld}/, strToHex(d));
|
||||
return ASN1('82', strToHex(d));
|
||||
}).join(''))))))));
|
||||
var body = [ '30 81 {+85+n}' // 4 bytes, sequence
|
||||
.replace(/{[^}]+}/, numToHex(3 + 13 + sublen + 27 + publen + 30 + sanlen))
|
||||
|
|
Loading…
Reference in New Issue