File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed
jvm/src/main/kotlin/com/wire/crypto Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -91,25 +91,6 @@ export class CoreCryptoContext {
9191 ) ;
9292 }
9393
94- /**
95- * Generates a MLS KeyPair/CredentialBundle with a temporary, random client ID.
96- * This method is designed to be used in conjunction with {@link CoreCryptoContext.mlsInitWithClientId} and represents the first step in this process
97- *
98- * @param ciphersuites - All the ciphersuites supported by this MLS client
99- * @returns This returns the TLS-serialized identity key (i.e. the signature keypair's public key)
100- */
101- async mlsGenerateKeypair (
102- ciphersuites : Ciphersuite [ ]
103- ) : Promise < Uint8Array [ ] > {
104- const cs = new CiphersuitesFfi (
105- Uint16Array . from ( ciphersuites . map ( ( cs ) => cs . valueOf ( ) ) )
106- ) ;
107- const kps = await CoreCryptoError . asyncMapErr (
108- this . #ctx. mls_generate_keypairs ( cs )
109- ) ;
110- return kps . map ( ( kp ) => kp . as_bytes ( ) ) ;
111- }
112-
11394 /**
11495 * Checks if the Client is member of a given conversation and if the MLS Group is loaded up
11596 *
Original file line number Diff line number Diff line change @@ -45,20 +45,6 @@ class CoreCryptoContext(private val cc: com.wire.crypto.uniffi.CoreCryptoContext
4545 wrapException { cc.mlsInit(id.lower(), ciphersuites.lower(), nbKeyPackage) }
4646 }
4747
48- /* *
49- * Generates a MLS KeyPair/CredentialBundle with a temporary, random client ID. This method is
50- * designed to be used in conjunction with [mlsInitWithClientId] and represents the first step
51- * in this process
52- *
53- * @param ciphersuites - All the ciphersuites supported by this MLS client
54- * @return a list of random ClientId to use in [mlsInitWithClientId]
55- */
56- suspend fun mlsGenerateKeypairs (
57- ciphersuites : Ciphersuites = Ciphersuites .DEFAULT
58- ): ExternallyGeneratedHandle {
59- return wrapException { cc.mlsGenerateKeypairs(ciphersuites.lower()).toExternallyGeneratedHandle() }
60- }
61-
6248 /* *
6349 * Get the client's public signature key. To upload to the DS for further backend side
6450 * validation
You can’t perform that action at this time.
0 commit comments