graphene-pk11
Advanced tools
Comparing version 2.0.22 to 2.0.23
@@ -0,0 +0,0 @@ **PKCS #11 DEVICE CAPABILITIES** |
@@ -0,0 +0,0 @@ **[SafeNet Luna G5](http://www.safenet-inc.com/data-encryption/hardware-security-modules-hsms/luna-hsms-key-management/luna-G5-usb-attached-hsm/) PKCS #11 DEVICE CAPABILITIES** |
@@ -0,0 +0,0 @@ **SoftHSM2 PKCS#11 DEVICE CAPABILITIES** |
@@ -0,0 +0,0 @@ **Thales nShield PKCS#11 DEVICE CAPABILITIES** |
@@ -0,0 +0,0 @@ **Thales nShield PCI 500 F3 PKCS#11 DEVICE CAPABILITIES** |
@@ -0,0 +0,0 @@ **Thales nShield Solo+ PKCS#11 DEVICE CAPABILITIES** |
@@ -0,0 +0,0 @@ ##Device Capabilities |
@@ -0,0 +0,0 @@ The MIT License (MIT) |
{ | ||
"name": "graphene-pk11", | ||
"version": "2.0.22", | ||
"version": "2.0.23", | ||
"description": "A simple layer for interacting with PKCS #11 / PKCS11 / CryptoKI for Node in TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "./build/graphene.js", |
@@ -0,0 +0,0 @@ # Graphene |
@@ -0,0 +0,0 @@ # Scenarios |
@@ -0,0 +0,0 @@ export * from "./core/object"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export class Pkcs11Error extends Error { |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export function isString(v: any) { |
@@ -0,0 +0,0 @@ export function dateFromString(text: string) { |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export * from "./cipher"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export * from "./core"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export * from "./params" |
@@ -0,0 +0,0 @@ export * from "../core"; |
@@ -0,0 +0,0 @@ const namedCurves: INamedCurve[] = [ |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export interface IParams { |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import {Certificate} from "./cert"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ export * from "./cert"; |
@@ -0,0 +0,0 @@ import {Certificate} from "./cert"; |
@@ -0,0 +0,0 @@ import {Certificate} from "./cert"; |
@@ -0,0 +0,0 @@ export * from "./storage"; |
@@ -0,0 +0,0 @@ import {Storage} from "./storage"; |
@@ -0,0 +0,0 @@ import {Storage} from "./storage"; |
@@ -0,0 +0,0 @@ export * from "./key"; |
@@ -1,2 +0,2 @@ | ||
import {Storage} from "../storage"; | ||
import { Storage } from "../storage"; | ||
import * as pkcs11 from "pkcs11js"; | ||
@@ -150,3 +150,7 @@ | ||
get derive(): boolean { | ||
return this.get("derive"); | ||
try { | ||
return this.get("derive"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -153,0 +157,0 @@ |
@@ -1,2 +0,2 @@ | ||
import {Key} from "./key"; | ||
import { Key } from "./key"; | ||
@@ -49,3 +49,8 @@ /** | ||
get decrypt(): boolean { | ||
return this.get("decrypt"); | ||
try { | ||
return this.get("decrypt"); | ||
} | ||
catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -66,3 +71,7 @@ | ||
get sign(): boolean { | ||
return this.get("sign"); | ||
try { | ||
return this.get("sign"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -83,3 +92,7 @@ | ||
get signRecover(): boolean { | ||
return this.get("signRecover"); | ||
try { | ||
return this.get("signRecover"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -100,3 +113,7 @@ | ||
get unwrap(): boolean { | ||
return this.get("unwrap"); | ||
try { | ||
return this.get("unwrap"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -103,0 +120,0 @@ |
@@ -1,2 +0,2 @@ | ||
import {Key} from "./key"; | ||
import { Key } from "./key"; | ||
@@ -32,3 +32,7 @@ /** | ||
get encrypt(): boolean { | ||
return this.get("encrypt"); | ||
try { | ||
return this.get("encrypt"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -49,3 +53,7 @@ | ||
get verify(): boolean { | ||
return this.get("verify"); | ||
try { | ||
return this.get("verify"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -66,3 +74,7 @@ | ||
get verifyRecover(): boolean { | ||
return this.get("verifyRecover"); | ||
try { | ||
return this.get("verifyRecover"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -83,3 +95,7 @@ | ||
get wrap(): boolean { | ||
return this.get("wrap"); | ||
try { | ||
return this.get("wrap"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -86,0 +102,0 @@ |
@@ -1,2 +0,2 @@ | ||
import {Key} from "./key"; | ||
import { Key } from "./key"; | ||
@@ -33,3 +33,7 @@ /** | ||
get encrypt(): boolean { | ||
return this.get("encrypt"); | ||
try { | ||
return this.get("encrypt"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -50,3 +54,7 @@ | ||
get decrypt(): boolean { | ||
return this.get("decrypt"); | ||
try { | ||
return this.get("decrypt"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -67,3 +75,7 @@ | ||
get verify(): boolean { | ||
return this.get("verify"); | ||
try { | ||
return this.get("verify"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -84,3 +96,7 @@ | ||
get sign(): boolean { | ||
return this.get("sign"); | ||
try { | ||
return this.get("sign"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -101,3 +117,7 @@ | ||
get wrap(): boolean { | ||
return this.get("wrap"); | ||
try { | ||
return this.get("wrap"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -118,3 +138,7 @@ | ||
get unwrap(): boolean { | ||
return this.get("unwrap"); | ||
try { | ||
return this.get("unwrap"); | ||
} catch (err) { | ||
return false; | ||
} | ||
} | ||
@@ -121,0 +145,0 @@ |
@@ -0,0 +0,0 @@ import {SessionObject} from "../object"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ import * as pkcs11 from "pkcs11js"; |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ interface IInit { |
@@ -0,0 +0,0 @@ var assert = require("assert"); |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
@@ -0,0 +0,0 @@ /// <reference path="../index.d.ts" /> |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
@@ -0,0 +0,0 @@ var assert = require('assert'); |
@@ -0,0 +0,0 @@ var assert = require("assert"); |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -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 too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
336611
7334