issue Endpoint Certificate
fun issueEndpointCertificate(subjectPublicKey: PublicKey, issuerPrivateKey: PrivateKey, validityEndDate: ZonedDateTime, issuerCertificate: Certificate? = null, validityStartDate: ZonedDateTime = ZonedDateTime.now()): Certificate
Issue Relaynet PKI certificate to a private or public endpoint.
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 endpoint
validity Start Date
The start date of the certificate to be issued