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.
25 #ifndef __T_CERTSTOREOUT_H__
26 #define __T_CERTSTOREOUT_H__
34 #include <x509certext.h>
43 X509CertWriter(Output& aOut);
44 void WriteCert(const CX509Certificate& aCertificate);
45 void ShowSigningAlgorithm(const CSigningAlgorithmIdentifier& aSigningAlgorithm);
46 void ShowPublicKey(const CX509Certificate& aCertificate);
47 void ShowSerialNumber(const TPtrC8& aSerialNumber);
48 void ShowAVA(const CX520AttributeTypeAndValue& aAva);
49 void ShowDN(const CX500DistinguishedName& aName);
50 void ShowAKI(const CX509Certificate& aCert);
51 void ShowSKI(const CX509Certificate& aCert);
52 void ShowGN(const CX509GeneralName& aName);
53 void ShowFingerprint(const CX509Certificate& aCertificate);
54 void ShowExtensions(const CX509Certificate& aCertificate);
55 void ShowValidityPeriod(const CX509Certificate& aCertificate);
56 void ShowBC(const CX509CertExtension& aExt);
57 void ShowAltName(const CX509CertExtension& aExt);
58 void ShowKU(const CX509CertExtension& aExt);
59 void ShowSubtrees(const CArrayPtrFlat<CX509GeneralSubtree>& aSubtrees);
60 void ShowNC(const CX509CertExtension& aExt);
61 void ShowPC(const CX509CertExtension& aExt);
62 void ShowCP(const CX509CertExtension& aExt);
63 void ShowPM(const CX509CertExtension& aExt);
64 void ShowEKU(const CX509CertExtension& aExt);
65 void ShowSignature(const CX509Certificate& aCert);
67 void WriteEncodings(const CX509Certificate& aCertificate);
68 void WriteEncoding(const CX509Certificate& aCertificate, const TUint aIndex);
69 void ShowRSAKey(const CSubjectPublicKeyInfo& aSpki);
70 void ShowDSAKey(const CSubjectPublicKeyInfo& aSpki);
71 void ShowDHKey(const CSubjectPublicKeyInfo& aSpki);
78 WTLSCertWriter(Output& aOut);
79 void WriteCert(const CWTLSCertificate& aCertificate);
80 void ShowName(const CWTLSName& aName);