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

RPS implementation of federated authentication ticket
Inheritance: IFederatedAuthenticationTicket
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Свойство Type Description
sessionKey byte[]

Méthodes publiques

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

Private Methods

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

Method Details

DecryptTicket() public static méthode

Takes the encrypted wire format of the ticket and, on successful authentication, returns the resulting ticket.
public static DecryptTicket ( byte encryptedTicket ) : IFederatedAuthenticationTicket
encryptedTicket byte
Résultat IFederatedAuthenticationTicket

GetSignature() public méthode

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
Résultat byte[]

Property Details

sessionKey public_oe property

The short-lived session key associated with this authentication ticket
public byte[] sessionKey
Résultat byte[]