e2eiNewActivationEnrollment

suspend fun e2eiNewActivationEnrollment(displayName: String, handle: String, expirySec: UInt, ciphersuite: Ciphersuite, team: String? = null): E2EIEnrollment

Generates an E2EI enrollment instance for a "regular" client (with a Basic credential) willing to migrate to E2EI. Once the enrollment is finished, use the instance in e2eiRotateAll to do the rotation.

Return

The new E2EIEnrollment enrollment to use with e2eiRotateAll

Parameters

displayName

human-readable name displayed in the application e.g. Smith, Alice M (QA)

handle

user handle e.g. alice.smith.qa@example.com

expirySec

generated x509 certificate expiry

ciphersuite

for generating signing key material

team

name of the Wire team a user belongs to