Discuss this help topic in SecureBlackbox Forum

TElMessageTimestamper.Timestamp

TElMessageTimestamper     See also     


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


This method produces the timestamp.

Declaration

[C#]
    int Timestamp(byte[] InBuffer, ref byte[] OutBuffer, ref int OutSize);
    int Timestamp(byte[] InBuffer, int InStartIndex, int InSize, byte[] OutBuffer, int OutStartIndex, ref int OutSize);
    int Timestamp(System.IO.Stream InStream, System.IO.Stream OutStream, long InCount);

[VB.NET]
    Function Timestamp(ByVal InBuffer As Byte(), ByRef OutBuffer As Byte(), ByRef OutSize As Integer) As Integer
    Function Timestamp(ByVal InBuffer As Byte(), ByVal InStartIndex As Integer, ByVal InSize As Integer, ByVal OutBuffer As Byte(), ByVal OutStartIndex As Integer, ByRef OutSize As Integer) As Integer
    Function Timestamp(ByVal InStream As System.IO.Stream, ByVal OutStream As System.IO.Stream, ByVal InCount As Long) As Integer

[Pascal]
    function Timestamp(InBuffer : pointer; InSize : integer; OutBuffer : pointer; var OutSize : integer) : integer;
    function Timestamp(InStream, OutStream : TStream; InCount : Int64 = 0) : integer;

[C++]
    int32_t Timestamp(void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize);
    int32_t Timestamp(TStream &InStream, TStream &OutStream, int64_t InCount);
    int32_t Timestamp(TStream *InStream, TStream *OutStream, int64_t InCount);

[PHP]
    integer Timestamp(TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)
    integer Timestamp(TStream $InStream, TStream $OutStream, integer $InCount)

[Java]
    int timestamp(byte[] InBuffer, byte[] OutBuffer, TSBInteger OutSize);
    int timestamp(byte[] InBuffer, int InStartIndex, int InSize, byte[] OutBuffer, int OutStartIndex, TSBInteger OutSize);
    int timestamp(TElStream InStream, TElStream OutStream, long InCount);

Parameters

  • InBuffer - the buffer with data to be timestamped.
  • InCount - number of bytes to be read from InStream.
  • InSize - number of bytes to be read from InBuffer.
  • InStartIndex - the starting index of the data to be timestamped in InBuffer.
  • InStream - the stream with data to be timestamped.
  • OutBuffer - the buffer where the timestamp will be saved.
  • OutSize - the size of the output buffer in bytes.
  • OutStartIndex - the starting index of the timestamp data in OutBuffer.
  • OutStream - the stream where the timestamp will be saved.

Return value

    0 if the timestamping was completed successfully, and an error code otherwise.

Possible values:

Description

    Call this method to produce timestamp(s).

See also:     TSPClients    

Discuss this help topic in SecureBlackbox Forum