First public contribution.
2 * Copyright (c) 1998-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.
24 #ifndef __PKCS8RECOG_H__
25 #define __PKCS8RECOG_H__
30 * A recogniser that recognises the following MIME types:
32 * application/pkcs8-encrypted
34 class CApaPkcs8Recognizer : public CApaDataRecognizerType
37 CApaPkcs8Recognizer();
39 public: // from CApaDataRecognizerType
40 TUint PreferredBufSize();
41 TDataType SupportedDataTypeL(TInt aIndex) const;
43 static CApaDataRecognizerType* CreateRecognizerL();
45 private: // from CApaDataRecognizerType
46 void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer);