[][src]Crate rust_keylock

The rust-keylock library

Executes the logic of the rust-keylock.

This library is the executor of the rust-keylock logic. Editor references are used to interact with the rust-keylock users.

Modules

datacrypt

Defines the Cryptor trait and implements the encryption and decryption for the rust-keylock

nextcloud

Structs

Entry

Struct that defines a password entry.

RklConfiguration

Keeps the Configuration

Safe

Holds the data that should be safe and secret.

UserOption

Enums

Menu

Enumeration of the several different Menus that an Editor implementation should handle.

MessageSeverity

Severity for the messages presented to the Users

UserSelection

Represents a User selection that is returned after showing a Menu.

Traits

AsyncEditor

Trait to be implemented by various different Editors (Shell, Web, Android, other...).

Editor

Trait to be implemented by various different Editors (Shell, Web, Android, other...).

Functions

execute
execute_async

Takes a reference of Editor implementation as argument and executes the rust-keylock logic. The Editor is responsible for the interaction with the user. Currently there are Editor implementations for shell and for Android.