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

RPS implementation of federated authentication ticket
Наследование: IFederatedAuthenticationTicket
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
sessionKey byte[]

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

Метод Описание
DecryptTicket ( byte encryptedTicket ) : IFederatedAuthenticationTicket

Takes the encrypted wire format of the ticket and, on successful authentication, returns the resulting ticket.

GetSignature ( byte bufferToSign ) : byte[]

Computes and returns the HMACSHA256 of the provided buffer using the Session Key associated with the auth ticket.

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

Метод Описание
RpsTicket ( ) : System

Static constructor for the RpsTicket class.

RpsTicket ( object _ticket, byte _sessionKey ) : System

Constructor that takes the RPS representation of the ticket as an argument

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

DecryptTicket() публичный статический Метод

Takes the encrypted wire format of the ticket and, on successful authentication, returns the resulting ticket.
public static DecryptTicket ( byte encryptedTicket ) : IFederatedAuthenticationTicket
encryptedTicket byte
Результат IFederatedAuthenticationTicket

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

Computes and returns the HMACSHA256 of the provided buffer using the Session Key associated with the auth ticket.
public GetSignature ( byte bufferToSign ) : byte[]
bufferToSign byte
Результат byte[]

Описание свойств

sessionKey публичное свойство

The short-lived session key associated with this authentication ticket
public byte[] sessionKey
Результат byte[]