Files
Wallenc/Report/puml/fig_21_encrypt_flow.puml

25 lines
716 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@startuml fig_21_encrypt_flow
scale 3
title Поток enableEncryption → checkKey → openStorage
skinparam defaultFontName "DejaVu Sans"
skinparam activity {
BackgroundColor #F8F8F8
BorderColor #333333
}
start
:Пользователь включает шифрование;
:Сформировать EncryptKey;
:Encryptor: шифрование файлов\n**storage** (IStorageAccessor);
:storage.setEncInfo → Room\n(DbStorageMetaInfo);
:checkKey(ключ);
if (Ключ верный?) then (да)
:IUnlockManager.open(storage)\nвиртуальное представление;
:Доступ к файлам storage;
else (нет)
:Ошибка, storage не открыт;
endif
stop
@enduml