Discuss this help topic in SecureBlackbox Forum

TElCustomTSPServer.ValidateImprint

TElCustomTSPServer     


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


Validates correspondence of the received copy of message imprint to the original one.

Declaration

[C#/Java]
    bool ValidateImprint(int Algorithm, byte[] HashedData, byte[] Imprint);

[VB.NET]
    Function ValidateImprint(ByVal Algorithm As Integer, ByVal HashedData As Byte(), ByVal Imprint As Byte()) As Boolean

[Pascal]
    function ValidateImprint(Algorithm : integer; const HashedData, Imprint : ByteArray) : boolean;

[C++]
    not available

[PHP]
    not available

Parameters

  • Algorithm - digest algorithm used to calculate the imprint
  • HashedData - data hash (digest) to be timestamped
  • Imprint - imprint to be validated

Possible algorithms:


Return value

    Returns True if validation was successfull and False otherwise.

Description

    Use this method to check whether the received copy of message imprint corresponds to the original one.

Discuss this help topic in SecureBlackbox Forum