I am using swift-nio-ssl and I need to renegotiate or reestablish TLS from the client side if the server sends a specific flag. Is there any way to do this (ideally from within a ChannelHandler)?
NIORenegotiationSupport in the
TLSConfiguration already, but that seems to be triggered only if the server initiates the renegotiation from my understanding. (And I guess what I need is not really renegotiation, but I am not sure about it)
I hope what I'm trying to achieve is understandable, If not, please ask follow up questions