Discuss this help topic in SecureBlackbox Forum

TElClientTSPInfo.ParseCMS

TElClientTSPInfo     See also     


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


Processes timestamp signature CMS.

Declaration

[C#]
    int ParseCMS(byte[] CMSData);
    int ParseCMS(byte[] CMSData, bool NoOuterInfo);

[VB.NET]
    Function ParseCMS(ByVal CMSData As Byte()) As Integer
    Function ParseCMS(ByVal CMSData As Byte(), ByVal NoOuterInfo As Boolean) As Integer

[Pascal]
    function ParseCMS(const CMSData: ByteArray): integer;

[C++]
    int32_t ParseCMS(const std::vector<uint8_t> &CMSData);
    int32_t ParseCMS(const std::vector<uint8_t> &CMSData, bool NoOuterInfo);

[PHP]
    integer ParseCMS(array of byte|string|NULL $CMSData)
    integer ParseCMS(array of byte|string|NULL $CMSData, bool $NoOuterInfo)

[Java]
    int parseCMS(byte[] CMSData, boolean NoOuterInfo);
    int parseCMS(byte[] CMSData);

Parameters

  • CMSData - CMS of timestamp signature to be parsed
  • NoOuterInfo - ...

Return value

    0 if the parsing process was completed successfully.
    one of the following error codes otherwise,

Description

    Use this method to parse the CMS (body of the signature made by timestamp server). The method extracts timestamp-related information (time, accuracy, server name etc.) and puts it to the corresponding properties.

See also:     CMS    

Discuss this help topic in SecureBlackbox Forum