CertificateValidate Event
Fires when a client certificate needs to be validated.
Syntax
restserver.on('CertificateValidate', [callback])
Callback
The 'callback' is called when the 'CertificateValidate' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.connectionID e.accept
Remarks
The class fires this event to notify the application of an authenticating client. Use the event handler to validate the certificate and pass your decision back to the server component via the Accept parameter.