securityos/node_modules/resedit/dist/sign/data/IssuerAndSerialNumber.js

13 lines
484 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import { makeDERSequence } from './derUtil.js';
var IssuerAndSerialNumber = /** @class */ (function () {
function IssuerAndSerialNumber(issuer, serialNumber) {
this.issuer = issuer;
this.serialNumber = serialNumber;
}
IssuerAndSerialNumber.prototype.toDER = function () {
return makeDERSequence(this.issuer.toDER().concat(this.serialNumber.toDER()));
};
return IssuerAndSerialNumber;
}());
export default IssuerAndSerialNumber;