IEncryptedFileStorageInfo interface
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
Declaration
package com.kryptel.storage; public interface IEncryptedFileStorageInfo extends IEncryptedStorageInfo { long GetFileStorageCapabilities() throws Exception; FileStorageStatistics GetFileStorageStatistics() throws Exception; String GetDescription() throws Exception; }
Description
This interface extends IEncryptedStorageInfo adding information specific to file agents.
GetFileStorageCapabilities
long GetFileStorageCapabilities() throws Exception;
The function result is the storage capability mask as returned by IEncryptedStorageInfo.GetStorageCapabilities supplemented by agent-specific flags.
The lower 32 bits contain Constants.ESTOR_* flags returned by underlying storage handler; the upper 32 bits (from 32nd to 63rd) contain additional Constants.EFSTOR_* flags.
Unlike the other IEncryptedFileStorageInfo functions, this function may be called even if there is no open container. In this case it returns generic storage capabilites.
GetFileStorageStatistics
FileStorageStatistics GetFileStorageStatistics() throws Exception;
Returns FileStorageStatistics structure with file object counters.
This function returns null if the storage does not support statistics (i.e. EFSTOR_FILE_STORAGE_STATISTICS flag in the storage capabilites mask is not set).
GetDescription
String GetDescription() throws Exception;
Returns the unencrypted container description or null if the container does not have one.