e2eiNewRotateEnrollment

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

Generates an E2EI enrollment instance for a E2EI client (with a X509 certificate credential) having to change/rotate their credential, either because the former one is expired or it has been revoked. It lets you change the DisplayName or the handle if you need to. Once the enrollment is finished, use the instance in e2eiRotateAll to do the rotation.

Return

The new E2EIEnrollment enrollment to use with e2eiRotateAll

Parameters

expirySec

generated x509 certificate expiry

ciphersuite

for generating signing key material

displayName

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

handle

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

team

name of the Wire team a user belongs to