Module: Rights

Included in:
Connection, Vault
Defined in:
lib/rights.rb,
lib/file_access.rb,
lib/key_settings.rb

Overview

This module contains classes that represent permission for various parts of the applications.

Defined Under Namespace

Classes: FileAccess, KeySettings

Constant Summary collapse

CS_PLAIN =

Communication setting: plain (unencrypted, unauthenticated) communication.

0x0
CS_PLAIN_MAC =

Communication setting: unencrypted, authenticated communication.

0x1
CS_CIPHERED =

Communication setting: encrypted, authenticated communication.

0x3
FREE_ACCESS =

Used in file access rights in place of a key number, to allow unauthenticated access.

0xE
DENY_ACCESS =

Used in file access rights in place of a key number, to indicate that no key is authorized.

0xF
CHANGED_KEY =

Used in communication settings in place of a key, to indicate that an authentication with the key being changed should be performed in order to change a key.

0xE
IMMUTABLE =

Used in communication settings in place of a key, to indicate that a key cannot be changed.

0xF