IComponentCapabilities interface
Contents
- Introduction to the Library
- Basic support package (com.kryptel.bslx)
- Kryptel API Commons package (com.kryptel)
- ApiHelpers class
- Constants class
- IComponentCapabilities interface
- IComponentState interface
- ICompressionLevelCallback interface
- IDataSink interface
- IKryptelComponent interface
- INotification interface
- IProgressCallback interface
- IReplaceCallback interface
- Loader class
- Message class
- Progress class
- ProgressCallback class
- 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)
Declaration
package com.kryptel; public interface IComponentCapabilities { long GetCapabilitiesMask(); void SetCapabilitiesMask(long capabilities); }
Description
An interface for getting/setting component's capability mask (a combination of CAP_* values defined in Capabilites class). This interface is optional; the client should not rely on its presence.
Capability mask is used to limit component functionality, specifically for creating different editions that require different licenses. Exact meaning of capability bits is defined by specific components. Some of those bits are defined in the Capabilites class, but new components may defined their own capabilities.
See also: Components, Loader class.
GetCapabilitiesMask
long GetCapabilitiesMask();
Get the current capability mask.
SetCapabilitiesMask
void SetCapabilitiesMask(long capabilities);
Set a new capability mask.