issue Gateway Certificate
fun issueGatewayCertificate(subjectPublicKey: PublicKey, issuerPrivateKey: PrivateKey, validityEndDate: ZonedDateTime, issuerCertificate: Certificate? = null, validityStartDate: ZonedDateTime = ZonedDateTime.now()): Certificate
Issue Awala PKI certificate to a gateway.
Parameters
subject Public Key
The public key of the subject
issuer Private Key
The private key of the issuer
validity End Date
The end date of the certificate to be issued
issuer Certificate
The certificate of the issuer, if the subject is a private gateway
validity Start Date
The start date of the certificate to be issued