issue

fun issue(userName: String?, memberPublicKey: PublicKey, orgCertificate: OrgCertificate, orgPrivateKey: PrivateKey, expiryDate: ZonedDateTime, startDate: ZonedDateTime = ZonedDateTime.now()): MemberCertificate

Issue a new member certificate.

Parameters

userName

The user's name if the member is a user, or null if it's a bot.

memberPublicKey

The member's public key.

orgCertificate

The organisation's certificate.

orgPrivateKey

The organisation's private key.

expiryDate

The certificate's expiry date.

startDate

The certificate's start date.