Discuss this help topic in SecureBlackbox Forum

TElMessageTimestampVerifier.IsTimestampDetached

TElMessageTimestampVerifier     See also     


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


This function detects whether the timestamp is detached from message.

Declaration

[C#/Java]
    static bool IsTimestampDetached(byte[] Timestamp, ref string DataURI, ref string FileName);
    static bool IsTimestampDetached(byte[] Timestamp, int StartIndex, int Size, ref string DataURI, ref string FileName);
    static bool IsTimestampDetached(System.IO.Stream Timestamp, ref string DataURI, ref string FileName, long Count);

[VB.NET]
    Shared Function IsTimestampDetached(ByVal Timestamp As Byte(), ByRef DataURI As String, ByRef FileName As String) As Boolean
    Shared Function IsTimestampDetached(ByVal Timestamp As Byte(), ByVal StartIndex As Integer, ByVal Size As Integer, ByRef DataURI As String, ByRef FileName As String) As Boolean
    Shared Function IsTimestampDetached(ByVal Timestamp As System.IO.Stream, ByRef DataURI As String, ByRef FileName As String, ByVal Count As Long) As Boolean

[Pascal]
    class function IsTimestampDetached(Timestamp : pointer; Size : integer; var DataURI : string; var FileName : string) : boolean;
    class function IsTimestampDetached(Timestamp : TStream; var DataURI : string; var FileName : string; Count : Int64 = 0) : boolean;

[C++]
    static bool IsTimestampDetached(void * Timestamp, int32_t Size, std::string &DataURI, std::string &FileName);
    static bool IsTimestampDetached(TStream &Timestamp, std::string &DataURI, std::string &FileName, int64_t Count);
    static bool IsTimestampDetached(TStream *Timestamp, std::string &DataURI, std::string &FileName, int64_t Count);

[PHP]
    bool IsTimestampDetached(TSBPointer|array of byte|string|NULL $Timestamp, integer $Size, string &$DataURI, string &$FileName)
    bool IsTimestampDetached(TStream $Timestamp, string &$DataURI, string &$FileName, integer $Count)

Parameters

  • Timestamp - buffer (stream) containing the timestamp.
  • StartIndex - index of the first byte of the actual data in the Timestamp buffer.
  • Size - size of the timestamp in bytes.
  • DataURI - URI of the time-stamped data.
  • FileName - name of the time-stamped data file.
  • Count - number of bytes of time-stamped data that were read.

Return value

    Returns True if the timestamp is detached, and False otherwise.

Description

    Use this method to check if the timestamp is detached.

See also:     VerifyDetached    

Discuss this help topic in SecureBlackbox Forum