|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.cert.tools.CreatePKCS12
public class CreatePKCS12
| Constructor Summary | |
|---|---|
CreatePKCS12()
|
|
| Method Summary | |
|---|---|
static java.io.File |
create(java.io.File certFile,
java.io.File keyFile,
java.lang.String password,
java.io.File createFile)
Creates a PCKS12 file from the certificate and key files. |
static void |
main(java.lang.String[] argv)
Main entry point when running as an application. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreatePKCS12()
| Method Detail |
|---|
public static void main(java.lang.String[] argv)
argv - Application arguments.
public static java.io.File create(java.io.File certFile,
java.io.File keyFile,
java.lang.String password,
java.io.File createFile)
certFile - The X509 DER encoded certificate file.keyFile - The PCKS8 DER encoded private key file.password - Option password for the private key file. This is required if the private key file is encrypted. Should be null or empty
if the private key file is not encrypted.createFile - Optional file descriptor for the output file of the pkcs12 file. If this is null, the file name is based on the
certificate file name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||