@wireapp/core-crypto 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireapp/core-crypto",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
@@ -1,23 +1,3 @@
1
- declare enum WirePolicy {
2
- /**
3
- * Handshake messages are never encrypted
4
- */
5
- Plaintext = 1,
6
- /**
7
- * Handshake messages are always encrypted
8
- */
9
- Ciphertext = 2
10
- }
11
- declare enum CredentialType {
12
- /**
13
- * Just a KeyPair
14
- */
15
- Basic = 1,
16
- /**
17
- * A certificate obtained through e2e identity enrollment process
18
- */
19
- X509 = 2
20
- }
21
1
  declare enum Ciphersuite {
22
2
  /**
23
3
  * DH KEM x25519 | AES-GCM 128 | SHA2-256 | Ed25519
@@ -48,6 +28,26 @@ declare enum Ciphersuite {
48
28
  */
49
29
  MLS_256_DHKEMP384_AES256GCM_SHA384_P384 = 7
50
30
  }
31
+ declare enum CredentialType {
32
+ /**
33
+ * Just a KeyPair
34
+ */
35
+ Basic = 1,
36
+ /**
37
+ * A certificate obtained through e2e identity enrollment process
38
+ */
39
+ X509 = 2
40
+ }
41
+ declare enum WirePolicy {
42
+ /**
43
+ * Handshake messages are never encrypted
44
+ */
45
+ Plaintext = 1,
46
+ /**
47
+ * Handshake messages are always encrypted
48
+ */
49
+ Ciphertext = 2
50
+ }
51
51
  /**
52
52
  * For creating a challenge.
53
53
  * @see https://www.rfc-editor.org/rfc/rfc8555.html#section-7.5.1