CertificateValidate Event
Fires when a client certificate needs to be validated.
Syntax
public class DefaultDtlsserverEventListener implements DtlsserverEventListener { ... public void certificateValidate(DtlsserverCertificateValidateEvent e) {} ... } public class DtlsserverCertificateValidateEvent { public long connectionID; public boolean 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.