C# 클래스 GSF.Security.Authentication.SrpServerSession

Provides simple password based authentication that uses Secure Remote Password.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SessionSecret byte[]

공개 메소드들

메소드 설명
SrpServerSession ( SrpUserCredential user ) : System

Creates a new SrpServerSession that will authenticate a stream.

TryAuthenticate ( Stream stream, byte additionalChallenge ) : bool

Attempts to authenticate the provided stream.

비공개 메소드들

메소드 설명
CreateSessionData ( byte sessionSecret, SrpUserCredential user ) : byte[]
ResumeTicket ( IDigest hash, Stream stream, byte additionalChallenge ) : bool
StandardAuthentication ( IDigest hash, Stream stream, byte additionalChallenge ) : bool
TryLoadTicket ( byte ticket, SrpUserCredential user, byte &sessionSecret ) : bool

Attempts to load the session resume ticket.

메소드 상세

SrpServerSession() 공개 메소드

Creates a new SrpServerSession that will authenticate a stream.
public SrpServerSession ( SrpUserCredential user ) : System
user SrpUserCredential The user that will be authenticated.
리턴 System

TryAuthenticate() 공개 메소드

Attempts to authenticate the provided stream.
public TryAuthenticate ( Stream stream, byte additionalChallenge ) : bool
stream Stream the stream to authenticate
additionalChallenge byte
리턴 bool

프로퍼티 상세

SessionSecret 공개적으로 프로퍼티

The session secret that is used to generate keys.
public byte[] SessionSecret
리턴 byte[]