diff -r 30e048a7b597 -r bad0cc58d154 eapol/eapol_framework/eapol_symbian/am/include/EapTlsPeapCertInterface.h --- a/eapol/eapol_framework/eapol_symbian/am/include/EapTlsPeapCertInterface.h Thu Aug 19 09:58:27 2010 +0300 +++ b/eapol/eapol_framework/eapol_symbian/am/include/EapTlsPeapCertInterface.h Tue Aug 31 15:16:37 2010 +0300 @@ -16,7 +16,7 @@ */ /* -* %version: 13.1.2 % +* %version: % */ #ifndef _EAPTLSPEAPCERTINTERFACE_H_ @@ -48,17 +48,20 @@ virtual ~CEapTlsPeapCertInterface(); - void ReadCertificateL(SCertEntry& aCertInfo, const TBool aRetrieveChain); + void ReadCertificateL(EapCertificateEntry& aCertInfo, const TBool aRetrieveChain); - void ReadCACertificateL(SCertEntry& aCertInfo); + void ReadCACertificateL(EapCertificateEntry& aCertInfo); void ReadPrivateKeyL(TKeyIdentifier& aHash); - void ValidateChainL(TDesC8& aCertChain, RArray& aCACerts); + void ValidateChainL( + TDesC8& aCertChain, + RPointerArray& aCACerts, + const TBool aUseAutomaticCaCertificate); void GetMatchingCertificatesL( - const RArray& aAllowedUserCerts, + const RPointerArray& aAllowedUserCerts, const TBool aUseCertAuthoritiesFilter, EAP_TEMPLATE_CONST eap_array_c * const aCertAuthorities, const TBool aUseCertTypesFilter, @@ -67,12 +70,12 @@ const RArray& aAllowedCipherSuites); void SignL( - TKeyIdentifier& aKeyId, + const TKeyIdentifier& aKeyId, const TDesC8& aHashIn, const TUint aSignatureLength); void DecryptL( - TKeyIdentifier& aKeyId, + const TKeyIdentifier& aKeyId, const TDesC8& aData); void CancelSignWithPrivateKey(); @@ -134,7 +137,7 @@ RFs iFs; - RArray iAllowedUserCerts; + RPointerArray iAllowedUserCerts; TBool iUseCertAuthoritiesFilter; @@ -145,9 +148,9 @@ TBool iRSACertsAllowed; TBool iDSACertsAllowed; - + RPointerArray iCertAuthorities; - + const eap_array_c* iCertTypes; RMPointerArray iCertInfos; @@ -173,17 +176,17 @@ RPointerArray iUserCertChain; - CArrayFixFlat iMatchingUserCertInfos; + RPointerArray iMatchingUserCertInfos; TUint iCAIndex; TUint iUserCertIndex; - RArray iAllowedCACerts; + RPointerArray iAllowedCACerts; HBufC8* iInputCertChain; - SCertEntry iCertInfo; + EapCertificateEntry iCertInfo; TAny *iResArray; @@ -209,6 +212,9 @@ CUnifiedKeyStore* iKeyStore; TBool iRetrieveChain; + + TBool iUseAutomaticCaCertificate; + }; #endif // _EAPTLSPEAPCERTINTERFACE_H_