Class SslTools
Use this class to peek SSL client/server hello information.
Assembly: StreamExtended.dll
Methods
Is the given stream starts with an SSL client hello?
Declaration
public static Task<bool> IsClientHello(CustomBufferedStream stream, IBufferPool bufferPool, CancellationToken cancellationToken)
Parameters
Returns
Is the given stream starts with an SSL client hello?
Declaration
public static Task<bool> IsServerHello(CustomBufferedStream stream, IBufferPool bufferPool, CancellationToken cancellationToken)
Parameters
Returns
Peek the SSL client hello information.
Declaration
public static Task<ClientHelloInfo> PeekClientHello(CustomBufferedStream clientStream, IBufferPool bufferPool, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Peek the SSL client hello information.
Declaration
public static Task<ServerHelloInfo> PeekServerHello(CustomBufferedStream serverStream, IBufferPool bufferPool, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns