e2eiNewEnrollment

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

Creates an enrollment instance with private key material you can use in order to fetch a new x509 certificate from the acme server.

Return

The new E2EIEnrollment enrollment to use with e2eiMlsInitOnly

Parameters

clientId

client identifier e.g. b7ac11a4-8f01-4527-af88-1c30885a7931:6add501bacd1d90e@example.com

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