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.

Constructor & Destructor Documentation

~MOCSPTransport()

~MOCSPTransport ( ) [inline, virtual]

Member Functions Documentation

CancelRequest()

void CancelRequest ( ) [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 &)

void SendRequest ( const TDesC8 & aURI,
const TDesC8 & aRequest,
const TInt aTimeout,
TRequestStatus & aStatus
) [pure virtual]

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

Parameters

const TDesC8 & aURI Target URI for sending the request
const TDesC8 & aRequest Request packet
const TInt aTimeout Request timeout in milliseconds (ignored if feature not supported)
TRequestStatus & aStatus The request status object. On request completion, indicates the status