/**
* Method used to perform the service.
*/
public ExtendedCAServiceResponse extendedService(ExtendedCAServiceRequest request)
throws ExtendedCAServiceRequestException, IllegalExtendedCAServiceRequestException, ExtendedCAServiceNotActiveException{
ExtendedCAServiceResponse returnval = null;
if(request instanceof OCSPCAServiceRequest) {
OCSPCAServiceRequest ocspServiceReq = (OCSPCAServiceRequest)request;
try {
ocspServiceReq.setPrivKey(getCAToken().getPrivateKey(SecConst.CAKEYPURPOSE_CERTSIGN));
ocspServiceReq.setPrivKeyProvider(getCAToken().getProvider());