xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp
changeset 27 450972dee096
parent 0 e35f40988205
child 33 604ca70b6235
equal deleted inserted replaced
23:740e860b8acf 27:450972dee096
   276             aCertStore->iSymbianCertStore->RetrieveCertDataL();
   276             aCertStore->iSymbianCertStore->RetrieveCertDataL();
   277             CActiveScheduler::Start();
   277             CActiveScheduler::Start();
   278             User::LeaveIfError( aCertStore->iSymbianCertStore->GetError() );
   278             User::LeaveIfError( aCertStore->iSymbianCertStore->GetError() );
   279             certdata=aCertStore->iSymbianCertStore->GetRetrieveCertData();      
   279             certdata=aCertStore->iSymbianCertStore->GetRetrieveCertData();      
   280             certX509 = CX509Certificate::NewLC(*certdata);
   280             certX509 = CX509Certificate::NewLC(*certdata);
   281             aCertStore->iRootCertsSCS.Append((CX509Certificate *)certX509);     
   281             User::LeaveIfError(aCertStore->iRootCertsSCS.Append((CX509Certificate *)certX509));     
   282             CleanupStack::Pop(certX509);   
   282             CleanupStack::Pop(certX509);   
   283             }	
   283             }	
   284 	aCertStore->iCertChain = CSymbianCertChain::NewL();
   284 	aCertStore->iCertChain = CSymbianCertChain::NewL();
   285 	aCertStore->iCertChain->InitializeL((unsigned char*)aCert->der, 
   285 	aCertStore->iCertChain->InitializeL((unsigned char*)aCert->der, 
   286 	                                                (unsigned int)aCert->derlen,
   286 	                                                (unsigned int)aCert->derlen,