17 lines
613 B
Plaintext
17 lines
613 B
Plaintext
import { __decorate } from "tslib";
|
|
import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
|
|
import { AlgorithmIdentifier } from "./algorithm_identifier";
|
|
export class SubjectPublicKeyInfo {
|
|
constructor(params = {}) {
|
|
this.algorithm = new AlgorithmIdentifier();
|
|
this.subjectPublicKey = new ArrayBuffer(0);
|
|
Object.assign(this, params);
|
|
}
|
|
}
|
|
__decorate([
|
|
AsnProp({ type: AlgorithmIdentifier })
|
|
], SubjectPublicKeyInfo.prototype, "algorithm", void 0);
|
|
__decorate([
|
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
], SubjectPublicKeyInfo.prototype, "subjectPublicKey", void 0);
|