Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.EncryptAndSignFile

TElPGPWriter     See also     


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


Encrypts and signs the ASourceFile.

Declaration

[C#/Java]
    void EncryptAndSignFile(string ASourceFile, string ADestFile);

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

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

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

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

Parameters

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

Description

    This method encrypts and signs data from ASourceFile and stores in ADestFile file.
    Depending on Compress and Armor property values data can be compressed before encryption and signing and armored (wrapped into base64 envelope) after that.

See also:     EncryptAndSignFiles     Armor     SymmetricKeyAlgorithm     Encrypt     Sign     EncryptAndSign    

Discuss this help topic in SecureBlackbox Forum