1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 #ifndef __TCPSSLCOMPATIBILITY_H__
18 #define __TCPSSLCOMPATIBILITY_H__
20 // TcertInfo was originately part of certman.h
23 * Class to hold the DN (Distinguished Name) information.
25 * @deprecated Deprecated. Do not Use.
31 /** DN country string. */
33 /** DN organisation unit. */
34 TBuf8<64> iOrganizationUnit;
35 /** DN orginasation. */
36 TBuf8<64> iOrganization;
37 /** DN common name. */
38 TBuf8<64> iCommonName;
44 * Class to hold the certificate information.
47 * @deprecated Deprecated. Do not Use.
52 /** Certificate's fingerprint. */
53 TBuf8<20> iFingerprint;
54 /** Certificate's serial number. */
56 /** Certificate's public key. */
57 TBuf8<300> iPublicKey;
58 /** Certificate's version. */
60 /** Certificate's Public Key Algorithm, using the TPublicKeyAlg enum. */
61 /*TPublicKeyAlg*/TInt iPkAlg;
62 /** Certificate's start validity date. */
64 /** Certificate's end validity date. */
66 /** Subject DN Information. */
67 TDNInfo iSubjectDNInfo;
68 /** Issuer DN Information. */
69 TDNInfo iIssuerDNInfo;
78 #endif // __TCPSSLCOMPATIBILITY_H__