Update contrib.
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.
15 * WTLSCertWriter class implementation
25 #ifndef __CertWriter_H
26 #define __CertWriter_H
42 WTLSCertWriter(Output* aOut);
43 void SetOut(Output* aOut);
44 void WriteCert(const CWTLSCertificate& aCertificate);
45 void ShowSigningAlgorithm(const CSigningAlgorithmIdentifier& aSigningAlgorithm);
46 void ShowPublicKey(const CWTLSCertificate& aCertificate);
47 void ShowSerialNumber(const TPtrC8& aSerialNumber);
48 void ShowSignature(const CWTLSCertificate& aCert);
49 void ShowValidityPeriod(const CWTLSCertificate& aCertificate);
50 void ShowFingerprint(const CWTLSCertificate& aCertificate);
51 void ShowName(const CWTLSName& aName);
53 void WriteFieldByName(TPtrC& aFieldName, const CWTLSStructuredText& aName);
54 void WriteEncodings(const CWTLSCertificate& aCertificate);
55 const TPtrC8* Encoding(const CWTLSCertificate& aCertificate, const TUint aIndex);
56 void ShowRSAKey(const CSubjectPublicKeyInfo& aSpki);