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

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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 @icedevml
3
+ Copyright (c) 2026 Michał Leszczyński (@icedevml)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.js CHANGED
@@ -43771,11 +43771,22 @@ function requireBuffer () {
43771
43771
  var bufferExports = requireBuffer();
43772
43772
 
43773
43773
  /**
43774
- * Derived from:
43774
+ * The toPkcs12Asn1Generic() function was derived from the node-forge (digitalbazaar/forge) library:
43775
43775
  * https://github.com/digitalbazaar/forge/blob/1cea0aff4901589ae86e314f25782bbe312f9f69/lib/pkcs12.js#L800
43776
+ * I've hacked it around to support embedding arbitrary DER-encoded certificates and private keys
43777
+ * regardless of their algorithm, as the original library was only accepting RSA certificates/keys.
43776
43778
  *
43777
- * and hacked around to support embedding arbitrary DER-encoded certificates and private keys
43778
- * regardless of their algorithm
43779
+ * Original license: dual-licensed under BSD-3 Clause License and GPL Version 2, depending on the user's choice.
43780
+ * This project opts to use the library on the terms of BSD-3 Claude License.
43781
+ * Full license statement is available here:
43782
+ * https://github.com/digitalbazaar/forge/blob/1cea0aff4901589ae86e314f25782bbe312f9f69/LICENSE
43783
+ *
43784
+ * Original author/copyright:
43785
+ * @author Dave Longley
43786
+ * @author Stefan Siegl <stesie@brokenpipe.de>
43787
+ *
43788
+ * Copyright (c) 2010-2014 Digital Bazaar, Inc.
43789
+ * Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
43779
43790
  */
43780
43791
  const asn1 = libExports.asn1;
43781
43792
  const pki = libExports.pki;
@@ -44072,8 +44083,19 @@ async function generatePKCS12({ certChainPEM, privKeyDERB64, pkcs12Password, pkc
44072
44083
  }
44073
44084
 
44074
44085
  /**
44075
- * Derived from:
44086
+ * The saveBufferAsFile() was derived from the pkijs (PeculiarVentures/PKI.js) library:
44076
44087
  * https://github.com/PeculiarVentures/PKI.js/blob/1bb60c22567a8608f296a2d06ddc06bd2da7125e/examples/PKCS12SimpleExample/es6.ts#L9
44088
+ *
44089
+ * Original license: BSD-3 Clause License
44090
+ * Full license statement is available here:
44091
+ * https://github.com/PeculiarVentures/PKI.js/blob/1bb60c22567a8608f296a2d06ddc06bd2da7125e/LICENSE
44092
+ *
44093
+ * Original author/copyright:
44094
+ * Author 2014-2019, Yury Strozhevsky
44095
+ *
44096
+ * Copyright (c) 2014, GlobalSign
44097
+ * Copyright (c) 2015-2019, Peculiar Ventures
44098
+ * All rights reserved.
44077
44099
  */
44078
44100
  function destroyClickedElement(event) {
44079
44101
  document.body.removeChild(event.target);