C# Class Microsoft.SqlServer.TDS.EndPoint.FederatedAuthentication.RPS

Wrapper for dynamic loading of RPS dll
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Authenticate ( byte encryptedTicket, string siteName ) : object

Given an encrypted ticket, calls RPS Authenticate and returns the decrypted ticket

GetSessionKeyFromRpsDecryptedTicket ( object rpsTicket ) : byte[]

Given an rps decrypted ticket, get the session key

Initialize ( string s ) : void

Calling Initialize in the RPS real object created from the dynamically loaded RPS assembly

RPS ( ) : System

RPS Wrapper constructor

Private Methods

Method Description
GetStringAsBytes ( string toConvert ) : byte[]

Convert a "string" that is actually a byte array into an actual byte array - needed for interop with COM methods that are returning binary data as a BSTR.

Method Details

Authenticate() public method

Given an encrypted ticket, calls RPS Authenticate and returns the decrypted ticket
public Authenticate ( byte encryptedTicket, string siteName ) : object
encryptedTicket byte
siteName string
return object

GetSessionKeyFromRpsDecryptedTicket() public method

Given an rps decrypted ticket, get the session key
public GetSessionKeyFromRpsDecryptedTicket ( object rpsTicket ) : byte[]
rpsTicket object
return byte[]

Initialize() public method

Calling Initialize in the RPS real object created from the dynamically loaded RPS assembly
public Initialize ( string s ) : void
s string
return void

RPS() public method

RPS Wrapper constructor
public RPS ( ) : System
return System