changePin

Description

Changes the password used to protect the integrity of the keystore contents.

Syntax

Command line:

changePin 
[-newpin new_pin] 

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="changePin" > <wst_antTask command="changePin"
[newpin=“new_pin” >]

Where:

Option

Description

newpin

The new keystore password

Examples

Example 1

This command changes the keystore password to “new_password:”

wstkeytool changePin -newpin new_password

Ant build example:

<wst_antTask command="changepin" newpin="secret" />