Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.EncryptFile

TElPGPWriter     See also     


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


Encrypts the ASourceFile.

Declaration

[C#/Java]
    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)

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