public class LoadCert
extends java.lang.Object
Constructor and Description |
---|
LoadCert() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
loadSingle(DirectoryService directory,
java.lang.String oid,
java.lang.String file)
Creates or replaces a certificate 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)
directory
- The instance of directory to write to.oid
- The object ID for the directory object.file
- A PEM file to read the certificate from.public static void main(java.lang.String[] args) throws ConfigurationException
args
- Application command line parameters. File name is the only one
expected.ConfigurationException
- In case of errors in configuration file.