Show / Hide Table of Contents

    Class SslTools

    Use this class to peek SSL client/server hello information.

    Inheritance
    Object
    SslTools
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: StreamExtended
    Assembly: StreamExtended.dll
    Syntax
    public class SslTools

    Methods

    IsClientHello(CustomBufferedStream, IBufferPool, CancellationToken)

    Is the given stream starts with an SSL client hello?

    Declaration
    public static Task<bool> IsClientHello(CustomBufferedStream stream, IBufferPool bufferPool, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CustomBufferedStream stream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Boolean>

    IsServerHello(CustomBufferedStream, IBufferPool, CancellationToken)

    Is the given stream starts with an SSL client hello?

    Declaration
    public static Task<bool> IsServerHello(CustomBufferedStream stream, IBufferPool bufferPool, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CustomBufferedStream stream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Boolean>

    PeekClientHello(CustomBufferedStream, IBufferPool, CancellationToken)

    Peek the SSL client hello information.

    Declaration
    public static Task<ClientHelloInfo> PeekClientHello(CustomBufferedStream clientStream, IBufferPool bufferPool, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CustomBufferedStream clientStream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ClientHelloInfo>

    PeekServerHello(CustomBufferedStream, IBufferPool, CancellationToken)

    Peek the SSL client hello information.

    Declaration
    public static Task<ServerHelloInfo> PeekServerHello(CustomBufferedStream serverStream, IBufferPool bufferPool, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CustomBufferedStream serverStream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ServerHelloInfo>
    Back to top Generated by DocFX