C# 클래스 RIM.VSNDK_Package.DebugToken.Model.DebugTokenData

상속: RIM.VSNDK_Package.Signing.Models.NotifyPropertyChanged
파일 보기 프로젝트 열기: blackberry/VSPlugin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_initializedCorrectly bool
restart bool

공개 메소드들

메소드 설명
DebugTokenData ( ) : System

Constructor

Decrypt ( string cipher ) : string

Decrypts a given string.

Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.

Encrypt ( string plainText ) : string

Encrypts a given password and returns the encrypted data as a base64 string.

This solution is not really secure as we are keeping strings in memory. If runtime protection is essential, SecureString should be used.

addDevice ( DebugTokenDialog parent ) : bool

Add current device to device list.

createDebugToken ( ) : bool

Create a new Debug Token for connected device

getDeviceInfo ( ) : bool

Get the device Info of the connected device

refreshDevice ( DebugTokenDialog parent ) : bool

Refresh current device to device list.

resetPassword ( ) : bool

보호된 메소드들

메소드 설명
OnPropertyChanged ( string propName ) : void

Fire the PropertyChnaged event handler on change of property

비공개 메소드들

메소드 설명
getDebugTokenInfo ( ) : bool

Retrieve debug token details

isRegistered ( ) : bool

Get the list of registered devices and display

p_ErrorDataReceived ( object sender, System e ) : void

On Error received event handler

p_OutputDataReceived ( object sender, System e ) : void

On Data Received event handler

refreshScreen ( ) : void

Set all the screen info

removeDebugToken ( ) : bool

remove debug token from connected device

uploadDebugToken ( ) : bool

Upload Token to connected device

메소드 상세

DebugTokenData() 공개 메소드

Constructor
public DebugTokenData ( ) : System
리턴 System

Decrypt() 공개 메소드

Decrypts a given string.
Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public Decrypt ( string cipher ) : string
cipher string A base64 encoded string that was created /// through the or /// extension methods.
리턴 string

Encrypt() 공개 메소드

Encrypts a given password and returns the encrypted data as a base64 string.
This solution is not really secure as we are keeping strings in memory. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public Encrypt ( string plainText ) : string
plainText string An unencrypted string that needs /// to be secured.
리턴 string

OnPropertyChanged() 보호된 메소드

Fire the PropertyChnaged event handler on change of property
protected OnPropertyChanged ( string propName ) : void
propName string
리턴 void

addDevice() 공개 메소드

Add current device to device list.
public addDevice ( DebugTokenDialog parent ) : bool
parent DebugTokenDialog
리턴 bool

createDebugToken() 공개 메소드

Create a new Debug Token for connected device
public createDebugToken ( ) : bool
리턴 bool

getDeviceInfo() 공개 메소드

Get the device Info of the connected device
public getDeviceInfo ( ) : bool
리턴 bool

refreshDevice() 공개 메소드

Refresh current device to device list.
public refreshDevice ( DebugTokenDialog parent ) : bool
parent DebugTokenDialog
리턴 bool

resetPassword() 공개 메소드

public resetPassword ( ) : bool
리턴 bool

프로퍼티 상세

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

public static bool _initializedCorrectly
리턴 bool

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

public static bool restart
리턴 bool