Discuss this help topic in SecureBlackbox Forum


TElMessageSigner     See also     

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

Timestamps the message.


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

    Function Timestamp(ByVal InBuffer As Byte(), ByVal InStartIndex As Integer, ByVal InSize As Integer, ByRef 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

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

    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);

    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)

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


  • InBuffer - Pointer to the data to be stamped
  • InStartIndex - Starting index of the data to be stamped in the InBuffer.
  • InSize - Size of the input data in bytes
  • OutBuffer - Pointer to the buffer where the stamped data should be written
  • OutStartIndex - Starting index of the data in the OutBuffer.
  • OutSize - Size of the OutBuffer in bytes
  • InStream - Stream with data to timestamp.
  • OutStream - Resulting stream.
  • InCount - Number of bytes to be read from the InStream. If this parameter is 0 the data is read till the end of the stream.
    Default value is 0.

Return value

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

Possible values:


    Use this method to timestamp the message.

See also:     TSPClient     TimestampCountersignature     ErrorInfo    

Discuss this help topic in SecureBlackbox Forum