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

Wrapper for dynamic loading of RPS dll
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetSessionKeyFromRpsDecryptedTicket() public méthode

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

Initialize() public méthode

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

RPS() public méthode

RPS Wrapper constructor
public RPS ( ) : System
Résultat System