internal override Task <bool> HandleP02Certificate(P02Certificate p)
 {
     parent.ExceptionHandler.CloseConnection("NotSupported",
                                             "VSL 1.2 does not support key exchange validated by certificates.",
                                             nameof(PacketHandlerClient), nameof(HandleP02Certificate));
     return(Task.FromResult(false));
 }
Beispiel #2
0
 internal override Task <bool> HandleP02Certificate(P02Certificate p)
 {
     parent.ExceptionHandler.CloseConnection("InvalidPacket",
                                             "VSL servers can not handle P02Certificate.",
                                             nameof(PacketHandlerServer), nameof(HandleP02Certificate));
     return(Task.FromResult(false));
 }
Beispiel #3
0
 internal abstract Task <bool> HandleP02Certificate(P02Certificate p);