Class TlsAuthenticationMechanism
Implementation for the AUTH TLS
command.
Inheritance
TlsAuthenticationMechanism
Assembly: FubarDev.FtpServer.dll
Syntax
[FtpFeatureFunction("CreateAuthTlsFeatureString")]
public class TlsAuthenticationMechanism : AuthenticationMechanism, IAuthenticationMechanism, IFeatureHost
Constructors
|
Improve this Doc
View Source
TlsAuthenticationMechanism(IFtpConnection, ISslStreamWrapperFactory)
Declaration
public TlsAuthenticationMechanism(IFtpConnection connection, ISslStreamWrapperFactory sslStreamWrapperFactory)
Parameters
Methods
|
Improve this Doc
View Source
CanHandle(String)
Declaration
public override bool CanHandle(string methodIdentifier)
Parameters
Type |
Name |
Description |
String |
methodIdentifier |
|
Returns
Overrides
|
Improve this Doc
View Source
CreateAuthTlsFeatureString(IFtpConnection)
Build a string to be returned by the FEAT
command handler.
Declaration
public static IEnumerable<string> CreateAuthTlsFeatureString(IFtpConnection connection)
Parameters
Returns
|
Improve this Doc
View Source
GetSupportedFeatures(IFtpConnection)
Gets a collection of features supported by this command handler.
Declaration
[Obsolete("FTP command handlers (and other types) are now annotated with attributes implementing IFeatureInfo.")]
public IEnumerable<IFeatureInfo> GetSupportedFeatures(IFtpConnection connection)
Parameters
Returns
|
Improve this Doc
View Source
HandleAdatAsync(Byte[], CancellationToken)
Declaration
public override Task<IFtpResponse> HandleAdatAsync(byte[] data, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
HandleAuthAsync(String, CancellationToken)
Declaration
public override Task<IFtpResponse> HandleAuthAsync(string methodIdentifier, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
HandlePbszAsync(Int64, CancellationToken)
Declaration
public override Task<IFtpResponse> HandlePbszAsync(long size, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
HandleProtAsync(String, CancellationToken)
Declaration
public override Task<IFtpResponse> HandleProtAsync(string protCode, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Reset()
Declaration
public override void Reset()
Overrides
Implements