@wireapp/core-crypto 3.0.0 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/platforms/web/core-crypto-ffi_bg.wasm +0 -0
- package/platforms/web/corecrypto.d.ts +10 -10
- package/platforms/web/corecrypto.js +2457 -2455
package/package.json
CHANGED
Binary file
|
@@ -1,13 +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
1
|
declare enum CredentialType {
|
12
2
|
/**
|
13
3
|
* Just a KeyPair
|
@@ -48,6 +38,16 @@ declare enum Ciphersuite {
|
|
48
38
|
*/
|
49
39
|
MLS_256_DHKEMP384_AES256GCM_SHA384_P384 = 7
|
50
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
|