Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
25 void MCTWritableCertStore::Add(.., TBool aDeletable, ..)
28 This is a default (dummy) implementation of the new Add(.., TBool aDeletable, ..) method
29 to ensure backward compatibility with old implementations.
31 The MCTWritableCertStore is an abstract parent class for other implementation specific
32 writable cert store classes such as CFileCertStore, CFSCertStoreClient, CCheckedCertStore,
33 and other partner defined classes.
35 Every such child class derived from MCTWritableCertStore, provided it is written properly,
36 MUST have its own implementation for the Add(.., TBool aDeletable, ..) method.
38 Therefore, this dummy implementation in the parent class (MCTWritableCertStore) should NEVER
39 be engaged, since the child's class implementation is supposed to work.
41 Once, the method is called here, in the parent class, this simply means that child class
42 didn't manage to provide its implementation, which could in turn mean that either the child
43 class is older version, or the child class is poorly written.
45 Thus, the current Add() returns with TRequestStatus& aStatus set to error
46 value KErrNotSupported.
49 inline void MCTWritableCertStore::Add( const TDesC&,
51 TCertificateOwnerType,
52 const TKeyIdentifier*,
53 const TKeyIdentifier*,
56 TRequestStatus& aStatus )
58 TRequestStatus* status = &aStatus;
59 User::RequestComplete( status, KErrNotSupported );