EldoS
 Table of Contents >  SolFSStorage.StorageEncryption property
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.StorageEncryption property

Filter:

Pascal    DLL    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

SolFSStorage     See also    

Overview

Sets encryption algorithm for whole-storage encryption.

Declaration

[Pascal]
    property StorageEncryption: TSolFSEncryption;

[DLL]
    not applicable;

[C++ (DLL/Lib)]
    SolFSEncryption get_StorageEncryption()
    void set_StorageEncryption(SolFSEncryption Value)

[C++ (VCL)]
    __property TSolFSEncryption StorageEncryption;

[C++ (.NET)]
    SolFSEncryption get_StorageEncryption()
    void set_StorageEncryption(SolFSEncryption Value)

[C#]
    SolFSEncryption StorageEncryption

[VB.NET]
    Property StorageEncryption As SolFSEncryption

Values of SolFSEncryption

[Pascal] [DLL] [C++ (VCL)] [C++ (.NET)] [C#] [VB.NET] [ActiveX] [VB] Value Meaning
ecNoEncryption 0 Encryption is not used.
ecAES256_SHA256 1 AES (256 bit) is used for encryption and SHA is used for hashing.
ecCustom256 2 Custom encryption is used via callback functions (events).
ecAES256_HMAC256 3 AES (256 bit) is used for encryption and SHA is used for hashing. This mode is recommended for use instead of ecAES256_SHA256.

Description

This property specifies encryption for the whole storage (including directories). The property value is used when the storage is created or when the fixed-sized storage is formatted. Default value is 0 (no encryption).
Remember to set the StoragePassword property before enabling encryption.

To change the password or encryption algorithm use SetEncryption method.

If you use custom encryption, you must provide handlers for OnDataEncrypt, OnDataDecrypt, OnHashValidate and OnHashCalculate events.

See also

StoragePassword     CheckPassword     SetEncryption    

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation