C# 클래스 Rainy.Db.DbEncryptedStorage

상속: DbStorage
파일 보기 프로젝트 열기: Dynalon/Rainy 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DecryptNoteBody void
EncryptNoteBody void
GetEncryptedNoteKey string

공개 메소드들

메소드 설명
DbEncryptedStorage ( IDbConnectionFactory factory, DBUser user, string encryption_master_key, bool use_history = true ) : System
GetNotes ( ) : Note>.Dictionary
ReEncryptAllNotes ( string new_encryption_key ) : void

Reencrypts all notes. This may happen i.e. if the user changes his password.

SaveNote ( Note note ) : void

비공개 메소드들

메소드 설명
DecryptNoteBody ( DBNote note ) : void
EncryptNoteBody ( DBNote note ) : void
GetEncryptedNoteKey ( DBNote note ) : string

메소드 상세

DbEncryptedStorage() 공개 메소드

public DbEncryptedStorage ( IDbConnectionFactory factory, DBUser user, string encryption_master_key, bool use_history = true ) : System
factory IDbConnectionFactory
user DBUser
encryption_master_key string
use_history bool
리턴 System

GetNotes() 공개 메소드

public GetNotes ( ) : Note>.Dictionary
리턴 Note>.Dictionary

ReEncryptAllNotes() 공개 메소드

Reencrypts all notes. This may happen i.e. if the user changes his password.
public ReEncryptAllNotes ( string new_encryption_key ) : void
new_encryption_key string The new key that is used for encryption.
리턴 void

SaveNote() 공개 메소드

public SaveNote ( Note note ) : void
note Tomboy.Note
리턴 void