C# 클래스 Microsoft.SqlServer.TDS.EndPoint.FederatedAuthentication.RpsTicket

RPS implementation of federated authentication ticket
상속: IFederatedAuthenticationTicket
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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[]