Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var derUtil_js_1 = require("./derUtil.js");
|
||||
var Attribute = /** @class */ (function () {
|
||||
function Attribute(attrType, attrValues) {
|
||||
this.attrType = attrType;
|
||||
this.attrValues = attrValues;
|
||||
}
|
||||
Attribute.prototype.toDER = function () {
|
||||
return derUtil_js_1.makeDERSequence(this.attrType.toDER().concat(derUtil_js_1.arrayToDERSet(this.attrValues)));
|
||||
};
|
||||
return Attribute;
|
||||
}());
|
||||
exports.default = Attribute;
|
||||
Reference in New Issue
Block a user