Search Results for

    Show / Hide Table of Contents

    Class SslTools

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

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

    Methods

    | Edit this page View Source

    IsClientHello(IPeekStream, IBufferPool, CancellationToken)

    Is the given stream starts with an SSL client hello?

    Declaration
    public static Task<bool> IsClientHello(IPeekStream stream, IBufferPool bufferPool, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IPeekStream stream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsServerHello(IPeekStream, IBufferPool, CancellationToken)

    Is the given stream starts with an SSL server hello?

    Declaration
    public static Task<bool> IsServerHello(IPeekStream stream, IBufferPool bufferPool, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IPeekStream stream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    PeekClientHello(IPeekStream, IBufferPool, CancellationToken)

    Peek the SSL client hello information.

    Declaration
    public static Task<ClientHelloInfo?> PeekClientHello(IPeekStream clientStream, IBufferPool bufferPool, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IPeekStream clientStream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ClientHelloInfo>
    | Edit this page View Source

    PeekServerHello(IPeekStream, IBufferPool, CancellationToken)

    Peek the SSL server hello information.

    Declaration
    public static Task<ServerHelloInfo?> PeekServerHello(IPeekStream serverStream, IBufferPool bufferPool, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IPeekStream serverStream
    IBufferPool bufferPool
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ServerHelloInfo>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX