import  Chapter 9: Developing Web Service Clients

Chapter 8: Using wstool, wstkeytool, wstant, and wstkeytoolant

printCert

Description

Reads the certificate information from the keystore, and prints its contents in a human-readable format to the display. keyname is the name of the printed certificate.

Syntax

Command line:

printCert 
keyname

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="printCert" > <wst_antTask command="printCert"
keyname=“key” >

Examples

Example 1

This command displays the information contained in the Jaguar user test CA:

wstkeytool printCert “Sybase Jagauar User Test CA”

Ant build example:

<wst_antTask command="printcert" entity="Sybase Jaguar User Test CA"/>





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 9: Developing Web Service Clients