Kryptel Encrypted Storage
Package com.kryptel.storage contains storage handlers and agents. See Kryptel Storage Model for a discussion of handlers and agents and how do they work together.
Contents
- Introduction to the Library
- Basic support package (com.kryptel.bslx)
- Kryptel API Commons package (com.kryptel)
- Cipher package (com.kryptel.cipher)
- Compressor package (com.kryptel.compressor)
- Exceptions package (com.kryptel.exceptions)
- Hash function package (com.kryptel.hash_function)
- MAC function package (com.kryptel.mac)
- Key-related functions (com.kryptel.key)
- Silver Key engine (com.kryptel.silver_key)
- Kryptel encrypted storage (com.kryptel.storage)
- Handlers and Agents
- Names and Unique Names
- Kryptel class
- FileStorageStatistics structure
- StorageStatistics structure
- IEncryptedStorage interface
- IEncryptedStorageInfo interface
- IEncryptedObject interface
- IEncryptedStream interface
- IEncryptedFileStorage interface
- IEncryptedFileStorageInfo interface
- IFileSystemAttributes interface
- IEncryptedDirectory interface
- IEncryptedFile interface
- Example: Password storage
- File encryption examples
General Topics
Handlers and Agents
A quick introduction to Kryptel storage handlers and storage agents.
File Object Names
A more detailed discussion of the difference between item's name and unique name. These two kinds of names are used to identify item in file agent's IEncryptedDirectory interface.
Structures
FileStorageStatistics
Container statistics returned by a file agent.
StorageStatistics
Low-level container statistics provided by a storage handler.
Storage Handler Interfaces (low-level)
Storage handlers export four interfaces, which give full access to Kryptel encrypted storage.
IEncryptedStorage
Provides access to an encrypted container and its root IEncryptedObject.
IEncryptedStorageInfo
Returns all kinds of information about the currently open container.
IEncryptedObject
Represents encrypted storage object.
IEncryptedStream
Provides access to encrypted object's data stream.
File Agent Interfaces (file-oriented)
File Agent is an adapter component translating rather abstract storage objects to more specific, but a lot more convenient file-oriented interfaces.
IEncryptedFileStorage
Represents a generic encrypted storage as a file container.
IEncryptedFileStorageInfo
Provides access to information about the currently open file container.
IFileSystemAttributes
A common ancestor for IEncryptedDirectory and IEncryptedFile representing attributes common for all file objects.
IEncryptedDirectory
Represents an encrypted filesystem directory, which may contain files and other directories.
IEncryptedFile
Represents an encrypted file.
Examples
Password Keeper
Illustrates using encrypted storage for building a simple password keeper.
File Encryption Examples
Code snippets for typical file encryption tasks.