Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.SignFiles

TElPGPWriter     See also     


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


This method signs multiple files (streams) with data.

Declaration

[C#/Java]
    void SignFiles(TElStringList SourceFileNames, ArrayList SourceStreams, string ADestFileName, System.IO.Stream ADestStream);

[VB.NET]
    Sub SignFiles(ByVal SourceFileNames As TElStringList, ByVal SourceStreams As ArrayList, ByVal ADestFileName As String, ByVal ADestStream As System.IO.Stream)

[Pascal]
    procedure SignFiles(SourceFileNames : TStringList; SourceStreams : TList; const ADestFileName : string; ADestStream : TStream);

[C++]
    void SignFiles(TStringList &SourceFileNames, TList &SourceStreams, const std::string &ADestFileName, TStream &ADestStream);
    void SignFiles(TStringList *SourceFileNames, TList *SourceStreams, const std::string &ADestFileName, TStream *ADestStream);

[PHP]
    void SignFiles(TStringList $SourceFileNames, TList $SourceStreams, string $ADestFileName, TStream $ADestStream)

Parameters

  • SourceFileNames (InFiles) - files to be signed.
  • SourceStreams - streams with data to be signed.
  • ADestFileName (OutFile) - resulting file.
  • ADestStream - resulting stream.

Description

    The list of file names is mandatory. If the list of streams is present, each stream must have the corresponding file name. If the list is filled with streams, those streams will be put to the packed file (TAR archive). In this case the file names (without paths) are used to name the streams in the packed file. If the streams are not specified, the list of file names must contain the fully qualified names of the files which will be opened and stored in the packed file.
    The name of the resulting file is mandatory as it will be used to name the packed TAR file inside of the PGP file. If the resulting stream is specified, the processed data will be stored in this resulting stream. If the stream is not specified, the resulting filename must contain the fully qualified name of the file which will be created/opened and used to store the processed data.
    Depending on Compress and Armor property values data can be compressed before signion and armored (wrapped into base64 envelope) after it.

See also:     SignFile     EncryptAndSignFiles     EncryptFiles    

Discuss this help topic in SecureBlackbox Forum