|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.KeyTools.KeystoreOperations
Implements the keystore operation for TMKeyMgr

| Constructor Summary | |
KeystoreOperations(gov.lanl.KeyTools.KeyAndCertInterface inKC)
Constructor, remember the certificate/key interface |
|
| Method Summary | |
void |
addCA(gov.lanl.Utility.InfoList inList)
Add a certificate authority to the keystore, requires issuing certificate authority to be root of the keystore |
void |
changeAliasPassword(gov.lanl.Utility.InfoList inList)
Change the password for the private key of an alias in the keystore |
void |
changeKeystorePassword(gov.lanl.Utility.InfoList inList)
Change the password for a keystore |
void |
copyTrusted(gov.lanl.Utility.InfoList inList)
Copies all of the trusted certificates in the source keystore to the target keystore |
void |
copyUser(gov.lanl.Utility.InfoList inList)
Copies the user's private key and certificate from the source keystore to the target keystore. |
void |
createKeystore(gov.lanl.Utility.InfoList inList)
Create a new keystore with one certificate authority |
void |
createUser(gov.lanl.Utility.InfoList inList)
Create a new user with one specified certificate authority and create a private keystore. |
void |
deleteAlias(gov.lanl.Utility.InfoList inList)
Delete an alias and the associated data from a keystore |
void |
exportPKCS(gov.lanl.Utility.InfoList inList)
Exports a keystore entry to a PKCS file |
java.lang.String[] |
getValues(gov.lanl.Utility.InfoList inList,
java.lang.String[] namesToGet)
Get the values for the names from the InfoList. |
void |
importPKCS(gov.lanl.Utility.InfoList inList)
Imports the contents of the PKCS into a keystore |
void |
setMsgArea(javax.swing.JTextArea inMsgArea)
Set the message area for verbose output |
void |
setVerbose(boolean verbose)
Set the verbose flag |
void |
setVerbose(java.lang.String verbose)
Set the verbose flag |
void |
showKeystore(gov.lanl.Utility.InfoList inList)
Displays the entries in the keystore; certificat chain only. |
void |
showPKCS(gov.lanl.Utility.InfoList inList)
Displays the contents of the PKCS |
void |
showUser(gov.lanl.Utility.InfoList inList)
Display the user's certificate/chain and private key, if appropriate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeystoreOperations(gov.lanl.KeyTools.KeyAndCertInterface inKC)
inKC - is the certificate interface to use| Method Detail |
public void setVerbose(boolean verbose)
verbose - is the new valuepublic void setVerbose(java.lang.String verbose)
verbose - is the string representation for the boolean valuepublic void setMsgArea(javax.swing.JTextArea inMsgArea)
inMsgArea - is the text area to use for output
public java.lang.String[] getValues(gov.lanl.Utility.InfoList inList,
java.lang.String[] namesToGet)
inList - is the InfoList to use for the lookupnamesToGet - is the list of names to lookup
public void createKeystore(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void copyUser(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void copyTrusted(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void createUser(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void deleteAlias(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void addCA(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void changeAliasPassword(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void changeKeystorePassword(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void showKeystore(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void showUser(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void showPKCS(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void importPKCS(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary datapublic void exportPKCS(gov.lanl.Utility.InfoList inList)
inList - is the InfoList with all of the necessary data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||