C# 클래스 Zazzles.Middleware.Authentication

파일 보기 프로젝트 열기: FOGProject/zazzles

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Decrypt ( string toDecode ) : string

Decrypts a response using AES, filtering out encryption flags

HandShake ( ) : bool

Generate a random AES pass key and securely send it to the server

비공개 메소드들

메소드 설명
Authentication ( ) : System
GetSecurityToken ( string filePath ) : byte[]

SetSecurityToken ( string filePath, byte token ) : void

Encrypt and save a security token

onTimerEnd ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

메소드 상세

Decrypt() 공개 정적인 메소드

Decrypts a response using AES, filtering out encryption flags
public static Decrypt ( string toDecode ) : string
toDecode string The string to decrypt
리턴 string

HandShake() 공개 정적인 메소드

Generate a random AES pass key and securely send it to the server
public static HandShake ( ) : bool
리턴 bool

프로퍼티 상세

TestPassKey 공개적으로 정적으로 프로퍼티

public static byte[] TestPassKey
리턴 byte[]