edhoc 1.1.0 → 1.1.1
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/README.md
CHANGED
|
@@ -69,7 +69,7 @@ const receivedEAD = await responder.processMessage1(message1);
|
|
|
69
69
|
|
|
70
70
|
### Certificate-Based Authentication
|
|
71
71
|
|
|
72
|
-
Using X.509 certificates for authentication
|
|
72
|
+
Using X.509 certificates for authentication:
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
75
|
import {
|
|
@@ -91,8 +91,8 @@ const initiatorCrypto = new DefaultEdhocCryptoManager();
|
|
|
91
91
|
// Initialize EDHOC with certificate-based auth
|
|
92
92
|
const initiator = new EDHOC(
|
|
93
93
|
10,
|
|
94
|
-
[EdhocMethod.
|
|
95
|
-
[EdhocSuite.Suite2],
|
|
94
|
+
[ EdhocMethod.Method0 ],
|
|
95
|
+
[ EdhocSuite.Suite2 ],
|
|
96
96
|
initiatorCreds,
|
|
97
97
|
initiatorCrypto
|
|
98
98
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edhoc",
|
|
3
3
|
"description": "A Node.js implementation of EDHOC (Ephemeral Diffie-Hellman Over COSE) protocol for lightweight authenticated key exchange in IoT and other constrained environments.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"debug": "npx node-gyp build --debug",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|