MOCSPTransport Class Reference

class MOCSPTransport

Interface through which the OCSP module sends requests to the outside world. Normally, the appropriate concrete objects are made automatically, depending on the URI, and so clients don't have to deal with this. However, clients can override the automatically created object by specifying their own transport object instead.

Public Member Functions
~MOCSPTransport()
voidCancelRequest()
TPtrC8 GetResponse()
voidSendRequest(const TDesC8 &, const TDesC8 &, const TInt, TRequestStatus &)

Constructor & Destructor Documentation

~MOCSPTransport()

~MOCSPTransport()[inline, virtual]

Member Functions Documentation

CancelRequest()

voidCancelRequest()[pure virtual]

Cancel the request.

GetResponse()

TPtrC8 GetResponse()const [pure virtual]

Get the response data. Panic if completion gave an error.

SendRequest(const TDesC8 &, const TDesC8 &, const TInt, TRequestStatus &)

voidSendRequest(const TDesC8 &aURI,
const TDesC8 &aRequest,
const TIntaTimeout,
TRequestStatus &aStatus
)[pure virtual]

Send request data to a URI. This is an asynchronous method.

Parameters

const TDesC8 & aURITarget URI for sending the request
const TDesC8 & aRequestRequest packet
const TInt aTimeoutRequest timeout in milliseconds (ignored if feature not supported)
TRequestStatus & aStatusThe request status object. On request completion, indicates the status