javacommons/security/src.linux/ocspclient.cpp
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "ocspclient.h"
       
    20 
       
    21 using namespace java::security;
       
    22 using namespace std;
       
    23 
       
    24 OcspClient* OcspClient::createInstance(long iap, const char* defaultUrl)
       
    25 {
       
    26     return new OcspClient();
       
    27 }
       
    28 void OcspClient::startOcspCheck(const char ** certChain, int certChainLen)
       
    29 {
       
    30 }
       
    31 
       
    32 OcspResponse OcspClient::getOcspCheckResponse()
       
    33 {
       
    34     OcspResponse response;
       
    35     response.iSummary = RESPONSE_GOOD;
       
    36     return response;
       
    37 }
       
    38 
       
    39 void OcspClient::cancelOcspCheck(bool doCleanup)
       
    40 {
       
    41 }