Table of Contents

Class SslStreamFactory

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

Standard SSL stream factory. Can be used with or without client-side certificates.

public sealed class SslStreamFactory : ISslStreamFactory
Inheritance
SslStreamFactory
Implements
Inherited Members

Properties

SslClientAuthenticationOptions

Gets or sets client authentication options.

public SslClientAuthenticationOptions? SslClientAuthenticationOptions { get; set; }

Property Value

SslClientAuthenticationOptions

Methods

CreateAsync(Stream, string, CancellationToken)

Creates the SSL stream.

public Task<SslStream?> CreateAsync(Stream stream, string targetHost, CancellationToken cancellationToken)

Parameters

stream Stream

The underlying raw stream.

targetHost string

Target host.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<SslStream>

SSL stream, or null if SSL is not enabled.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.