Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-crypto

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-crypto - npm Package Compare versions

Comparing version 1.4.8 to 1.5.0

dist/source_nodejs/read_certificate_signing_request.d.ts

0

.prettierrc.js

@@ -0,0 +0,0 @@ module.exports = {

export * from "./read";
export * from "./read_certificate_revocation_list";
export * from "./read_certificate_signing_request";

@@ -15,2 +15,3 @@ "use strict";

__exportStar(require("./read_certificate_revocation_list"), exports);
__exportStar(require("./read_certificate_signing_request"), exports);
//# sourceMappingURL=index.js.map
import { CertificateRevocationList } from "../source/common";
export declare function readCertificateRevocationList(filename: string): Promise<CertificateRevocationList>;

@@ -0,0 +0,0 @@ import { Certificate, CertificatePEM, PrivateKey, PrivateKeyPEM, PublicKey, PublicKeyPEM } from "../source/common";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=common.js.map

@@ -5,3 +5,3 @@ /**

/// <reference types="node" />
import { AlgorithmIdentifier, SignatureValue, DirectoryName } from "./asn1";
import { BlockInfo, AlgorithmIdentifier, SignatureValue, DirectoryName } from "./asn1";
import { Certificate, PrivateKey } from "./common";

@@ -34,2 +34,11 @@ import { PublicKeyLength } from "./explore_certificate";

}
export declare function _readExtension(buffer: Buffer, block: BlockInfo): {
identifier: {
oid: string;
name: string;
};
value: string | BasicConstraints | {
[key: string]: string[];
} | AuthorithyKeyIdentifier | KeyUsage;
};
export interface SubjectPublicKeyInfo {

@@ -70,2 +79,3 @@ algorithm: string;

}
export declare function readTbsCertificate(buffer: Buffer, block: BlockInfo): TbsCertificate;
export interface CertificateInternals {

@@ -72,0 +82,0 @@ tbsCertificate: TbsCertificate;

4

dist/source/crypto_explore_certificate.js

@@ -40,3 +40,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.combine_der = exports.split_der = exports.explorePrivateKey = exports.exploreCertificate = void 0;
exports.combine_der = exports.split_der = exports.explorePrivateKey = exports.exploreCertificate = exports.readTbsCertificate = exports._readExtension = void 0;
// references:

@@ -357,2 +357,3 @@ // - http://tools.ietf.org/html/rfc5280

}
exports._readExtension = _readExtension;
// Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension

@@ -461,2 +462,3 @@ function _readExtensions(buffer, block) {

}
exports.readTbsCertificate = readTbsCertificate;
/**

@@ -463,0 +465,0 @@ * explore a certificate structure

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -11,1 +11,2 @@ /**

export * from "./explore_certificate_revocation_list";
export * from "./explore_certificate_signing_request";

@@ -23,2 +23,3 @@ "use strict";

__exportStar(require("./explore_certificate_revocation_list"), exports);
__exportStar(require("./explore_certificate_signing_request"), exports);
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ export declare const oid_map: {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

module.exports = {
...require("./dist/source"),
};
export * from "./dist/source";
export * from "./dist/source_nodejs";

@@ -0,0 +0,0 @@ module.exports = {

{
"name": "node-opcua-crypto",
"version": "1.4.8",
"version": "1.5.0",
"description": "Crypto tools for Node-OPCUA",

@@ -17,3 +17,4 @@ "main": "./index.js",

"release-it": "npx release-it",
"prettier-format": "prettier --config .prettierrc.js lib/**/*.ts test/**/*.ts --write"
"prettier-format": "prettier --config .prettierrc.js lib/**/*.ts test/**/*.ts --write",
"ncu": "npx npm-check-updates -u"
},

@@ -32,9 +33,9 @@ "keywords": [

"@types/mocha": "^8.2.0",
"@types/node": "^14.14.12",
"@types/node": "^14.14.16",
"@types/should": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"lorem-ipsum": "^2.0.3",

@@ -48,4 +49,4 @@ "mocha": "^8.2.1",

"tslint": "^6.1.3",
"typescript": "^4.1.3",
"tslint-config-prettier": "^1.18.0"
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3"
},

@@ -52,0 +53,0 @@ "dependencies": {

@@ -0,0 +0,0 @@ # node-opcua-crypto

export * from "./read";
export * from "./read_certificate_revocation_list";
export * from "./read_certificate_signing_request";

@@ -0,0 +0,0 @@ import * as fs from "fs";

@@ -0,0 +0,0 @@ import * as assert from "assert";

@@ -0,0 +0,0 @@ import * as assert from "assert";

@@ -0,0 +0,0 @@ //

@@ -0,0 +0,0 @@ export type Nonce = Buffer;

@@ -388,3 +388,3 @@ /**

*/
function _readExtension(buffer: Buffer, block: BlockInfo) {
export function _readExtension(buffer: Buffer, block: BlockInfo) {
const inner_blocks = _readStruct(buffer, block);

@@ -548,3 +548,3 @@

function readTbsCertificate(buffer: Buffer, block: BlockInfo): TbsCertificate {
export function readTbsCertificate(buffer: Buffer, block: BlockInfo): TbsCertificate {
const blocks = _readStruct(buffer, block);

@@ -551,0 +551,0 @@

@@ -0,0 +0,0 @@ // tslint:disabled:no-var-requires

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -11,1 +11,2 @@ /**

export * from "./explore_certificate_revocation_list";
export * from "./explore_certificate_signing_request";

@@ -0,0 +0,0 @@ // https://github.com/lapo-luchini/asn1js/blob/master/oids.js

@@ -0,0 +0,0 @@ // tslint:disable: no-console

@@ -0,0 +0,0 @@ // tslint:disable: no-console

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc