C# Class System.Net.Security.Tests.UnixGssFakeNegotiateStream

Inheritance: NegotiateStream
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AuthenticateAsServerAsync ( ) : Task
GetDefaultKerberosCredentials ( string username, string password ) : void
PollMessageAsync ( int count ) : Task
UnixGssFakeNegotiateStream ( Stream innerStream ) : System

Private Methods

Method Description
EstablishSecurityContext ( Microsoft.Win32.SafeHandles.SafeGssContextHandle &context, byte buffer, byte &outputBuffer ) : bool
MessageLoop ( object state ) : void
ServerLoop ( object state ) : void
UnwrapMessage ( Microsoft.Win32.SafeHandles.SafeGssContextHandle context, byte message ) : byte[]
WrapMessage ( Microsoft.Win32.SafeHandles.SafeGssContextHandle context, byte message ) : byte[]

Method Details

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( ) : Task
return Task

GetDefaultKerberosCredentials() public static method

public static GetDefaultKerberosCredentials ( string username, string password ) : void
username string
password string
return void

PollMessageAsync() public method

public PollMessageAsync ( int count ) : Task
count int
return Task

UnixGssFakeNegotiateStream() public method

public UnixGssFakeNegotiateStream ( Stream innerStream ) : System
innerStream Stream
return System