This commit is contained in:
microshine 2020-03-06 13:33:15 +03:00
parent 0cfd894ce7
commit 5e219c6a36
3 changed files with 4 additions and 7 deletions

View File

@ -3,9 +3,6 @@ import { IJsonConvertible } from "@peculiar/json-schema";
import { Convert } from "pvtsutils";
import { EcPublicKey } from "./ec_public_key";
// tslint:disable-next-line: no-var-requires
const asn1 = require("asn1js");
// RFC 5915
// https://tools.ietf.org/html/rfc5915#section-3
//

View File

@ -1,6 +1,6 @@
import { AsnIntegerArrayBufferConverter, AsnProp, AsnPropTypes, IAsnConverter } from "@peculiar/asn1-schema";
// tslint:disable-next-line: no-var-requires
const asn1 = require("asn1js");
//@ts-ignore
import * as asn1 from "asn1js";
// RFC 3279
// https://tools.ietf.org/html/rfc3279#section-2.2.3

View File

@ -1,6 +1,6 @@
import { IAsnConverter } from "@peculiar/asn1-schema";
// tslint:disable-next-line: no-var-requires
const asn1 = require("asn1js");
//@ts-ignore
import * as asn1 from "asn1js";
export const AsnIntegerArrayBufferConverter: IAsnConverter<ArrayBuffer> = {
fromASN: (value: any) => {