secureswitools/swianalysistoolkit/source/chainvalidityandinstallfilestatustools/common/certificatechain.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 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(2,capability); |
453 iDevCapabilities += pow((double)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.append(buf); |
543 deviceId.assign(buf,(KDeviceIdLength-2)); |
544 deviceId.append("\n"); |
544 deviceId.append("\n"); |
545 } |
545 } |
546 } |
546 } |
547 return deviceId; |
547 return deviceId; |
548 } |
548 } |