This class contains several helper functions. It also defines a large number of constants, which are of no interest for a library user and so are not discussed here.
This structure is returned by GetContainerHandlers function (see below). The tag field contains Kryptel.CONTAINER_TAG (0x07AA050B); the other fields contain component IDs of the agent and the storage handler that are needed to access the container.
Returns true if the specified file is a Kryptel container. Note that it is not necessarily mean a file container; in order to determine the container type use GetContainerHandlers function.
Returns ContainerHandlers structure if the specified file is a Kryptel container, null otherwise. Use this function to open an existing container; don't assume it uses some specific handler. The example below illustrates the typical usage.
File agent, the only supported target is TARGET_DEFAULT. Does not store the original file paths so you must specify the target directory for a decryption operation.
Backup agent, supports multiple root directories (i.e. targets). Stores original paths.
Another way to determine the type of the agent is to obtain the file storage capabilities using function IEncryptedFileStorageInfo.GetFileStorageCapabilities. If the flag EFSTOR_TARGETS is set, then the agent is a backup one.