Discuss this help topic in SecureBlackbox Forum


TElPGPWriter     See also     

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

Signs the ASourceFile.


    void SignFile(string ASourceFile, string ADestFile, bool Detached);

    Sub SignFile(ByVal ASourceFile As String, ByVal ADestFile As String, ByVal Detached As Boolean)

    procedure SignFile(ASourceFile, ADestFile : String; Detached : boolean = false);

    void SignFile(const std::string &ASourceFile, const std::string &ADestFile, bool Detached);

    void SignFile(string $ASourceFile, string $ADestFile, bool $Detached)

    void signFile(String ASourceFile, String ADestFile, boolean Detached);


  • ASourceFile - file to be signed.
  • ADestFile - resulting file.
  • Detached - Defines if the detached signature must be created.
    Default value is False


    This method signs data from AsourceFile and stores result in ADestFile.
    Use Detached parameter to specify if signature must be detached. If this parameter value is True only signature will be written to the resulting file. If False signature will be written together with original data.
    Depending on Compress and Armor property values data can be compressed before signing and armored (wrapped into base64 envelope) after this.

See also:     SignFiles     Armor     Sign     Encrypt     EncryptAndSign     SymmetricKeyAlgorithm    

Discuss this help topic in SecureBlackbox Forum