C# Класс Rainy.Db.DbEncryptedStorage

Наследование: DbStorage
Показать файл Открыть проект Примеры использования класса

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