C# 클래스 dlech.SshAgentLib.Ui.QtAgent.SecureEdit

Secure edit control class. Supports storing passwords in an encrypted form in the process memory (Windows only).
상속: QtCore.QObject
파일 보기 프로젝트 열기: dlech/SshAgentLib 1 사용 예제들

공개 메소드들

메소드 설명
Attach ( QLineEdit aLineEdit, bool aHidePassword ) : void

Associate the current secure edit object with a text box.

ContentsEqualTo ( SecureEdit aSecureEdit ) : bool
Detach ( ) : void

Remove the current association. You should call this before the text box is destroyed.

EnableProtection ( bool aEnable ) : void
SetPassword ( byte aNewPassword ) : void

Sets the password.

ToUtf8 ( ) : byte[]

비공개 메소드들

메소드 설명
GetAsString ( ) : string
RemoveInsert ( int aLeftRemainingCount, int aRigthRemainingCount, string aStringToInsert ) : void
SecureEdit ( ) : System
ShowCurrentPassword ( int nSelStart, int nSelLength ) : void
mPasswordLineEdit_DragEnterEvent ( object sender, QEventArgs e ) : void
mPasswordLineEdit_DragMoveEvent ( object sender, QEventArgs e ) : void
mPasswordLineEdit_DropEvent ( object sender, QEventArgs e ) : void
mPasswordLineEdit_FocusInEvent ( object sender, EventArgs e ) : void
mPasswordLineEdit_TextChanged ( string aText ) : void

메소드 상세

Attach() 공개 메소드

Associate the current secure edit object with a text box.
public Attach ( QLineEdit aLineEdit, bool aHidePassword ) : void
aLineEdit QLineEdit Text box to link to.
aHidePassword bool Initial protection flag.
리턴 void

ContentsEqualTo() 공개 메소드

public ContentsEqualTo ( SecureEdit aSecureEdit ) : bool
aSecureEdit SecureEdit
리턴 bool

Detach() 공개 메소드

Remove the current association. You should call this before the text box is destroyed.
public Detach ( ) : void
리턴 void

EnableProtection() 공개 메소드

public EnableProtection ( bool aEnable ) : void
aEnable bool
리턴 void

SetPassword() 공개 메소드

Sets the password.
public SetPassword ( byte aNewPassword ) : void
aNewPassword byte /// A new password (UTF8). ///
리턴 void

ToUtf8() 공개 메소드

public ToUtf8 ( ) : byte[]
리턴 byte[]