Update contrib.
2 * Copyright (c) 2002-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.
15 * ** IMPORTANT ** PublishedPartner API's in this file are published to 3rd party developers via the
16 * Symbian website. Changes to these API's should be treated as PublishedAll API changes and the Security TA should be consulted.
17 * CNullCipher class implementation
28 #ifndef __NULLCIPHER_H__
29 #define __NULLCIPHER_H__
31 #include <streamcipher.h>
34 * Stream cipher that does no encryption or decryption, but simply returns the
36 * From CBlockTransformation
39 class CNullCipher : public CStreamCipher
43 * Creates a new CNullCipher object.
45 * @return A pointer to a new CNullCipher object
47 IMPORT_C static CNullCipher* NewL(void);
50 * Creates a new CNullCipher object.
52 * The returned pointer is put onto the cleanup stack.
54 * @return A pointer to a new CNullCipher object
56 IMPORT_C static CNullCipher* NewLC(void);
57 virtual void Reset(void);
58 virtual TInt KeySize(void) const;
60 virtual void DoProcess(TDes8& aData);
67 #endif // __NULLCIPHER_H__