Discuss this help topic in SecureBlackbox Forum

TElOCSPClient.PerformRequest

TElOCSPClient     See also     


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


Performs request to the server.

Declaration

[C#/Java]
    virtual int PerformRequest(ref TElOCSPServerError ServerResult, ref byte[] Reply);

[VB.NET]
    Overridable Function PerformRequest(ByRef ServerResult As TElOCSPServerError, ByRref Reply As Byte()) As Integer

[Pascal]
    function PerformRequest(var ServerResult : TElOCSPServerError; var Reply : ByteArray) : integer; virtual;

[C++]
    int32_t PerformRequest(TElOCSPServerError &ServerResult, std::vector<uint8_t> &Reply);

[PHP]
    integer PerformRequest(integer &$ServerResult, array of byte|string &$Reply)

Parameters

  • ServerResult - result of server processing the request
  • Reply - raw data reply

Return value

    0 on success;
    Error otherwise.

Possible errors values:


TElOCSPServerError values


Description

    This method is virtual, it should be used in descendant classes only. It creates a request, transfers it to the server, then retrieves and processes the reply, and returns the result.

See also:     CreateRequest     ProcessReply    

Discuss this help topic in SecureBlackbox Forum