Discuss this help topic in SecureBlackbox Forum


TElPGPWriter     See also     

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

Encrypts and signs the ASourceFile.


    void EncryptAndSignFile(string ASourceFile, string ADestFile);

    Sub EncryptAndSignFile(ByVal ASourceFile As String, ByVal ADestFile As String)

    procedure EncryptAndSignFile(ASourceFile, ADestFile : String);

    void EncryptAndSignFile(const std::string &ASourceFile, const std::string &ADestFile);

    void EncryptAndSignFile(string $ASourceFile, string $ADestFile)

    void encryptAndSignFile(String ASourceFile, String ADestFile);


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


    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