generate Keypackage
open suspend override fun generateKeypackage(credentialRef: CredentialRef, lifetime: Duration?): Keypackage(source)
Generate a KeyPackage from the referenced credential.
Makes no attempt to look up or prune existing keypackges.
If lifetime is set, the keypackages will expire that span into the future. If it is unset, a default lifetime of approximately 3 months is used.