@naylence/advanced-security 0.3.2 → 0.3.3
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/dist/browser/index.js +1 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/cjs/naylence/fame/security/cert/internal-ca-service.js +1 -7
- package/dist/cjs/naylence/fame/security/cert/internal-ca-service.js.map +1 -1
- package/dist/esm/naylence/fame/security/cert/internal-ca-service.js +1 -7
- package/dist/esm/naylence/fame/security/cert/internal-ca-service.js.map +1 -1
- package/dist/types/naylence/fame/security/cert/internal-ca-service.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -7395,12 +7395,6 @@ function hexToArrayBuffer(hex) {
|
|
|
7395
7395
|
}
|
|
7396
7396
|
return bytes.buffer;
|
|
7397
7397
|
}
|
|
7398
|
-
function encodeBitString(data) {
|
|
7399
|
-
const input = new Uint8Array(data);
|
|
7400
|
-
const bitString = new Uint8Array(input.length + 1);
|
|
7401
|
-
bitString.set(input, 1);
|
|
7402
|
-
return bitString.buffer;
|
|
7403
|
-
}
|
|
7404
7398
|
async function createEd25519Certificate(options) {
|
|
7405
7399
|
const subtle = await getSubtleCrypto();
|
|
7406
7400
|
await ensureCrypto();
|
|
@@ -7440,7 +7434,7 @@ async function createEd25519Certificate(options) {
|
|
|
7440
7434
|
const certificate = new Certificate({
|
|
7441
7435
|
tbsCertificate,
|
|
7442
7436
|
signatureAlgorithm,
|
|
7443
|
-
signatureValue:
|
|
7437
|
+
signatureValue: signature,
|
|
7444
7438
|
});
|
|
7445
7439
|
certificate.tbsCertificateRaw = tbsDer;
|
|
7446
7440
|
return AsnConvert.serialize(certificate);
|