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