46
|
1 |
/*
|
|
2 |
* Copyright (c) 2001-2006 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: EAP and WLAN authentication protocols.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
/*
|
|
19 |
* %version: 8.1.2 %
|
|
20 |
*/
|
|
21 |
|
|
22 |
#ifndef _SCERTENTRY_H_
|
|
23 |
#define _SCERTENTRY_H_
|
|
24 |
|
|
25 |
|
|
26 |
#include <unifiedcertstore.h>
|
|
27 |
#include <cctcertinfo.h>
|
|
28 |
|
|
29 |
/* This is the maximum length of a certificate primary/secondary name we are interested in. */
|
|
30 |
const TUint32 KMaxNameLength = 64;
|
|
31 |
|
|
32 |
struct SCertEntry
|
|
33 |
{
|
|
34 |
TCertLabel iLabel; // This holds only the certificate label.
|
|
35 |
TKeyIdentifier iSubjectKeyId;
|
|
36 |
TBuf<KMaxNameLength> iPrimaryName; // Primary name of the certificate if any.
|
|
37 |
TBuf<KMaxNameLength> iSecondaryName; // Secondary name of the certificate if any.
|
|
38 |
};
|
|
39 |
|
|
40 |
#endif // _SCERTENTRY_H_
|
|
41 |
|
|
42 |
// End of file
|
|
43 |
|
|
44 |
|