|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--utilities.KeyringDB
Java Toolbox key ring management tool. Creates a class file containing a string which holds the encoded key ring structure.
Usage: java com.ibm.sslight.tools.keyrng FullyQualifiedClassName ...
utilities.KeyringDB FullyQualifiedClassName (-password KeyDatabasePassword) also: -p -add [ {--ca BinaryX509CertFile} (--label KeyLabel)] ... -a, --certificateauthority, -lbl -create -ct -verify -v -changepassword -cp -connect host:port -co
Return Codes to Command Line: Successfull : 0 Non Critical Error : 10 Critical Error : 20
Usage Example:
PASSWORD: -password / -p
java utilities.KeyringDB KeyringDatabase.class -password yourpassord -verifyPass in the password to access the KeyringDatabase.class file. Required if not using the default password.
ADD: -add / -a
java utilities.KeyringDB KeyringDatabase.class -add --ca ca-File.der --lbl MyCAAdd a certificate from the certificate file given to the KeyringDatabase.class file. The certificate file specified (using the --ca / -- certificateAuthority parameters) should be a Binary X509 Certifificate file. Optionally, when adding a certificate to the database, you may choose a label with the --label/--lbl parameter. If you do not choose a label, one will be created for you with the follwing format: CA-400-Tue Feb 20 20:20:20 CST 2020
CREATE: -create / -ct
java utilities.KeyringDB KeyringDatabase.class -createCreates a new certificate database class with the class name passed in. This database will contain default certificates.
VERIFY: -verify / -v
java utilities.KeyringDB KeyringDatabase.class -verifyList out the certificates that exist in the KeyringDatabase.class flie.
CHG PWD: -ChangePassword / -cp
java utilities.KeyringDB KeyringDatabase.class -ChangePasswordChange the password for the KeyringDatabase.class file.
CONNECT: -connect / -co
java utilities.KeyringDB KeyringDatabase.class -connect host:portConnects to the given host:port and lists out the available certificates for downloading into the KeyringDatabase.class file. You will be prompted to give a label for the certificate.
DELETE: -delete / -del
java utilities.KeyringDB KeyringDatabase.class -delete --label Certificate1Deletes the certificate associated with the specified label from the KeyringDatabse.class file.
Constructor Summary | |
KeyringDB()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyringDB()
Method Detail |
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |