Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.SignFile

TElPGPWriter     See also     


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


Signs the ASourceFile.

Declaration

[C#/Java]
    void SignFile(string ASourceFile, string ADestFile, bool Detached);

[VB.NET]
    Sub SignFile(ByVal ASourceFile As String, ByVal ADestFile As String, ByVal Detached As Boolean)

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

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

[PHP]
    void SignFile(string $ASourceFile, string $ADestFile, bool $Detached)

Parameters

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

Description

    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