public class CreatePKCS12 extends Object
| Constructor and Description |
|---|
CreatePKCS12() |
public static void main(String[] argv)
argv - Application arguments.public static File create(File certFile, File keyFile, String password, 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.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.