public class LoadPrivateKey
extends java.lang.Object
Constructor and Description |
---|
LoadPrivateKey() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
loadSingle(DirectoryService directory,
java.lang.String oid,
java.lang.String file,
java.lang.String alias,
java.lang.String kspassword,
java.lang.String kepassword)
Creates or replaces a private key under a specified name.
|
static void |
main(java.lang.String[] args)
Command line driver.
|
private static boolean loadSingle(DirectoryService directory, java.lang.String oid, java.lang.String file, java.lang.String alias, java.lang.String kspassword, java.lang.String kepassword)
directory
- The instance of directory to write to.oid
- The object ID for the directory object.file
- A JKS key-store to read the private-key from.alias
- The alias to load from the file.kspassword
- The key store password.kepassword
- The key entry password.public static void main(java.lang.String[] args) throws ConfigurationException
args
- Application command line parameters.ConfigurationException
- In case of errors in configuration file.