C# Класс Microsoft.SqlServer.TDS.EndPoint.FederatedAuthentication.RPS

Wrapper for dynamic loading of RPS dll
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

Authenticate() публичный Метод

Given an encrypted ticket, calls RPS Authenticate and returns the decrypted ticket
public Authenticate ( byte encryptedTicket, string siteName ) : object
encryptedTicket byte
siteName string
Результат object

GetSessionKeyFromRpsDecryptedTicket() публичный Метод

Given an rps decrypted ticket, get the session key
public GetSessionKeyFromRpsDecryptedTicket ( object rpsTicket ) : byte[]
rpsTicket object
Результат byte[]

Initialize() публичный Метод

Calling Initialize in the RPS real object created from the dynamically loaded RPS assembly
public Initialize ( string s ) : void
s string
Результат void

RPS() публичный Метод

RPS Wrapper constructor
public RPS ( ) : System
Результат System