Week 12 contribution of PDK documentation_content. See release notes for details. Fixes Bug 2054, Bug 1583, Bug 381, Bug 390, Bug 463, Bug 1897, Bug 344, Bug 1319, Bug 394, Bug 1520, Bug 1522, Bug 1892"
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE concept
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-19618D5C-CB35-5261-9F9A-61FF83748A75"><title>Setting Users and Managers</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>You can use the following command to set a user: </p> <p><userinput>keytool –setuser 0x1234abcd MyRsaKey</userinput> </p> <p> <b>Note:</b> You can set only one user at a time. </p> <p>Output from a successful attempt at setting a user may be similar to the following: </p> <codeblock id="GUID-450C533B-50E1-5CB7-8262-7A0BD0524001" xml:space="preserve">User set successfully.
Store Label: Software key store
Version: 1.00 Serial Number: 0 Manufacturer: Nokia Corporation Store Type: Read only
Algorithm: DSA Size: 512 bits
Usage : PKCS15 Sign Code: 0x4
Owner : 0x10281c32
User : 0x1234abcd
Access flags: Extractable
ID: bb 6d 53 c5 06 93 0b 45 14 11 39 df 0a 3f fc 5b b0 17 ba 28
Label: abc
Native: Yes
Start date: not set End date: not set
</codeblock> <p>You can use the following command to set multiple users: </p> <p><userinput>keytool –setallusers </userinput> </p> <p>Output from a successful attempt at setting multiple users may be similar to the following: </p> <codeblock id="GUID-5F9C340D-F380-5B80-98F1-2465FEBD18CF" xml:space="preserve">Users set successfully.
Store Label: Software key store
Version: 1.00 Serial Number: 0 Manufacturer: Nokia Corporation Store Type: Read only
Algorithm: DSA Size: 512 bits
Usage : PKCS15 Sign Code: 0x4
Owner : 0x10281c32
User : ALL
Access flags: Extractable
ID: bb 6d 53 c5 06 93 0b 45 14 11 39 df 0a 3f fc 5b b0 17 ba 28
Label: abc
Native: Yes
Start date: not set End date: not set
</codeblock> <p>You can use the following command to set a manager: </p> <p><userinput>keytool –setmanager abc</userinput> </p> <p>Output from a successful attempt at setting a manager may be similar to the following: </p> <codeblock id="GUID-B5BA4ABF-E2F6-5CB5-B5CB-5F797E76B1F0" xml:space="preserve">Manager set successfully.
Store Label: Software key store
Version: 1.00 Serial Number: 0 Manufacturer: Nokia Corporation Store Type: Read only
Algorithm: DSA Size: 512 bits
Usage : PKCS15 Sign Code: 0x4
Owner : WriteDeviceData
User : ALL
Access flags: Extractable
ID: bb 6d 53 c5 06 93 0b 45 14 11 39 df 0a 3f fc 5b b0 17 ba 28
Label: abc
Native: Yes
Start date: not set End date: not set
</codeblock> </conbody><related-links><link href="GUID-1F84C6C2-8925-5A87-87C5-7C9A73F04501.dita"><linktext>Removing
Users</linktext> </link> </related-links></concept>