|
|
@ -480,35 +480,11 @@ rfc5280.DirectoryString = asn1.define('DirectoryString', function() { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
// var SubjectKeyIdentifier =
|
|
|
|
// rfc5280.SubjectKeyIdentifier = asn1.define('SubjectKeyIdentifier', function() {
|
|
|
|
// this.seq().obj(
|
|
|
|
// this.key('keyIdentifier').optional().octstr(),
|
|
|
|
// this.key('authorityCertIssuer').optional().octstr(),
|
|
|
|
// this.key('authorityCertSerialNumber').optional().octstr()
|
|
|
|
// );
|
|
|
|
// });
|
|
|
|
|
|
|
|
var KeyUsage = |
|
|
|
rfc5280.KeyUsage = asn1.define('KeyUsage', function() { |
|
|
|
this.bitstr(); |
|
|
|
}); |
|
|
|
|
|
|
|
// var KeyUsage =
|
|
|
|
// rfc5280.KeyUsage = asn1.define('KeyUsage', function() {
|
|
|
|
// this.seq().obj(
|
|
|
|
// this.key('digitalSignature').bitstr(),
|
|
|
|
// this.key('nonRepudiation').bitstr(),
|
|
|
|
// this.key('keyEncipherment').bitstr(),
|
|
|
|
// this.key('dataEncipherment').bitstr(),
|
|
|
|
// this.key('keyAgreement').bitstr(),
|
|
|
|
// this.key('keyCertSign').bitstr(),
|
|
|
|
// this.key('cRLSign').bitstr(),
|
|
|
|
// this.key('encipherOnly').bitstr(),
|
|
|
|
// this.key('decipherOnly').bitstr()
|
|
|
|
// );
|
|
|
|
// });
|
|
|
|
|
|
|
|
/** |
|
|
|
* Debug |
|
|
|
*/ |
|
|
|