@icedevml/tinypki-client-side-cert-req 0.4.4 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,17 @@
1
1
  /**
2
- * Derived from:
2
+ * The saveBufferAsFile() was derived from the pkijs (PeculiarVentures/PKI.js) library:
3
3
  * https://github.com/PeculiarVentures/PKI.js/blob/1bb60c22567a8608f296a2d06ddc06bd2da7125e/examples/PKCS12SimpleExample/es6.ts#L9
4
+ *
5
+ * Original license: BSD-3 Clause License
6
+ * Full license statement is available here:
7
+ * https://github.com/PeculiarVentures/PKI.js/blob/1bb60c22567a8608f296a2d06ddc06bd2da7125e/LICENSE
8
+ *
9
+ * Original author/copyright:
10
+ * Author 2014-2019, Yury Strozhevsky
11
+ *
12
+ * Copyright (c) 2014, GlobalSign
13
+ * Copyright (c) 2015-2019, Peculiar Ventures
14
+ * All rights reserved.
4
15
  */
5
16
  interface ISavePKCS12BufferAsFileParams {
6
17
  buffer: ArrayBuffer;
@@ -1,9 +1,20 @@
1
1
  /**
2
- * Derived from:
2
+ * The toPkcs12Asn1Generic() function was derived from the node-forge (digitalbazaar/forge) library:
3
3
  * https://github.com/digitalbazaar/forge/blob/1cea0aff4901589ae86e314f25782bbe312f9f69/lib/pkcs12.js#L800
4
+ * I've hacked it around to support embedding arbitrary DER-encoded certificates and private keys
5
+ * regardless of their algorithm, as the original library was only accepting RSA certificates/keys.
4
6
  *
5
- * and hacked around to support embedding arbitrary DER-encoded certificates and private keys
6
- * regardless of their algorithm
7
+ * Original license: dual-licensed under BSD-3 Clause License and GPL Version 2, depending on the user's choice.
8
+ * This project opts to use the library on the terms of BSD-3 Claude License.
9
+ * Full license statement is available here:
10
+ * https://github.com/digitalbazaar/forge/blob/1cea0aff4901589ae86e314f25782bbe312f9f69/LICENSE
11
+ *
12
+ * Original author/copyright:
13
+ * @author Dave Longley
14
+ * @author Stefan Siegl <stesie@brokenpipe.de>
15
+ *
16
+ * Copyright (c) 2010-2014 Digital Bazaar, Inc.
17
+ * Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
7
18
  */
8
19
  import * as forge from "node-forge";
9
20
  export declare const toPkcs12Asn1Generic: (key: string, cert: string | string[], password: string, options: any) => forge.asn1.Asn1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icedevml/tinypki-client-side-cert-req",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "TinyPKI ClientSideCertReq Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -11,7 +11,7 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/icedevml/tinypki-client-side-cert-req/issues"
13
13
  },
14
- "homepage": "https://github.com/icedevml/tinypki-client-side-cert-req?tab=readme-ov-file#readme",
14
+ "homepage": "https://github.com/icedevml/tinypki-client-side-cert-req",
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": "./dist/index.js",