secureswitools/swianalysistoolkit/source/chainvalidityandinstallfilestatustools/common/certificatechain.cpp
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
     1 /*
     1 /*
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   448 					else
   448 					else
   449 						{
   449 						{
   450 						capabilities.append("Unknown"+capability);
   450 						capabilities.append("Unknown"+capability);
   451 						}
   451 						}
   452 				
   452 				
   453 					iDevCapabilities += pow((double)2,capability);
   453 					iDevCapabilities += pow(2,capability);
   454 					}
   454 					}
   455 				capability++;
   455 				capability++;
   456 				}
   456 				}
   457 			}
   457 			}
   458 		}
   458 		}
   538 			for (int j = 0; j < (KDeviceIdLength-2); j++)
   538 			for (int j = 0; j < (KDeviceIdLength-2); j++)
   539 				{
   539 				{
   540 				buf[j] = *(buffer++);
   540 				buf[j] = *(buffer++);
   541 				}
   541 				}
   542 
   542 
   543 			deviceId.assign(buf,(KDeviceIdLength-2));
   543 			deviceId.append(buf);
   544 			deviceId.append("\n");
   544 			deviceId.append("\n");
   545 			}
   545 			}
   546 		}
   546 		}
   547 	return deviceId;
   547 	return deviceId;
   548 	}
   548 	}