TlsServer
Interface describing a TLS server endpoint.
                
Return server credentials to use.
Return the  TlsPskExternalexternal PSK to select from the ClientHello.
byte[] GetNewSessionID()
RFC 5077 3.3. NewSessionTicket Handshake Message.
int GetSelectedCipherSuite()
Return the specified session, if available.
int[] GetSupportedGroups()
Called by the protocol handler to report the client certificate, only if
             GetCertificateRequest returned non-null.