Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.EncryptFile

TElPGPWriter     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Encrypts the ASourceFile.

Declaration

[C#]
    void EncryptFile(string ASourceFile, string ADestFile);

[VB.NET]
    Sub EncryptFile(ByVal ASourceFile As String, ByVal ADestFile As String)

[Pascal]
    procedure EncryptFile(ASourceFile, ADestFile : String);

[C++]
    void EncryptFile(const std::string &ASourceFile, const std::string &ADestFile);

[PHP]
    void EncryptFile(string $ASourceFile, string $ADestFile)

[Java]
    void encryptFile(String ASourceFile, String ADestFile);

Parameters

  • ASourceFile - file to be encrypted.
  • ADestFile - resulting file.

Description

    This method encrypts the data from ASourceFile and writes result to the ADestFile.
    Depending on Compress and Armor property values data can be compressed before encryption and armored (wrapped into base64 envelope) after it.

See also:     EncryptFiles     Armor     SymmetricKeyAlgorithm     Encrypt     EncryptAndSign     Sign    

Discuss this help topic in SecureBlackbox Forum