Inspecting

You can see the identities in your database by using the -l option:

C:\ javakey -l

Scope:sun.security.IdentityDatabase, source file: c:\jdk1.1.1\identitydb.obj

WillScarlet[identitydb.obj][trusted]

 [Signer]Marian[identitydb.obj][trusted]

Sheriff[identitydb.obj][not trusted]

The -li option displays detailed information for a particular identity:

C:\ javakey -li Marian
Identity: Marian
[Signer]Marian[identitydb.obj][trusted]
        no keys
        no certificates
        No further information available.

The -ld option displays detailed information for every identity in the database.

Get Java Cryptography now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.