Fix #15
This commit is contained in:
parent
0cfd894ce7
commit
5e219c6a36
|
@ -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
|
||||
//
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Reference in New Issue