Discuss this help topic in SecureBlackbox Forum

TElCustomTSPClient.ValidateImprint

TElCustomTSPClient     See also     


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


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

Declaration

[C#]
    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

[Java]
    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.

See also:     HashAlgorithm     Timestamp    

Discuss this help topic in SecureBlackbox Forum