Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var derUtil_js_1 = require("./derUtil.js");
|
||||
var AlgorithmIdentifier = /** @class */ (function () {
|
||||
function AlgorithmIdentifier(algorithm) {
|
||||
this.algorithm = algorithm;
|
||||
}
|
||||
AlgorithmIdentifier.prototype.toDER = function () {
|
||||
var r = this.algorithm.toDER();
|
||||
return derUtil_js_1.makeDERSequence(r.concat(
|
||||
// parameters is not used now
|
||||
[0x05, 0x00]));
|
||||
};
|
||||
return AlgorithmIdentifier;
|
||||
}());
|
||||
exports.default = AlgorithmIdentifier;
|
||||
Reference in New Issue
Block a user