equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1998-2009 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 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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalTechnology |
|
24 */ |
|
25 |
|
26 #ifndef __PKCS8RECOG_H__ |
|
27 #define __PKCS8RECOG_H__ |
|
28 |
|
29 #include <apmrec.h> |
|
30 |
|
31 /** |
|
32 * A recogniser that recognises the following MIME types: |
|
33 * application/pkcs8 |
|
34 * application/pkcs8-encrypted |
|
35 */ |
|
36 class CApaPkcs8Recognizer : public CApaDataRecognizerType |
|
37 { |
|
38 public: |
|
39 CApaPkcs8Recognizer(); |
|
40 |
|
41 public: // from CApaDataRecognizerType |
|
42 TUint PreferredBufSize(); |
|
43 TDataType SupportedDataTypeL(TInt aIndex) const; |
|
44 |
|
45 static CApaDataRecognizerType* CreateRecognizerL(); |
|
46 |
|
47 private: // from CApaDataRecognizerType |
|
48 void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer); |
|
49 }; |
|
50 |
|
51 #endif |