public class PKCS12ToPEM
extends java.lang.Object
| Constructor and Description |
|---|
PKCS12ToPEM() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convert(java.io.File pkcs12,
char[] pkcs12Password,
char[] keyPassword,
java.io.File certPem,
java.io.File keyPem)
Converts a PKCS12 to a PEM using the Bouncy Castle PKCS12 drivers
|
static void |
convert(java.io.File pkcs12,
char[] pkcs12Password,
java.io.File certPem,
java.io.File keyPem) |
static void |
convert(java.io.File pkcs12,
java.io.File certPem,
java.io.File keyPem) |
public static void convert(java.io.File pkcs12,
java.io.File certPem,
java.io.File keyPem)
throws java.lang.Exception
java.lang.Exceptionpublic static void convert(java.io.File pkcs12,
char[] pkcs12Password,
java.io.File certPem,
java.io.File keyPem)
throws java.lang.Exception
java.lang.Exceptionpublic static void convert(java.io.File pkcs12,
char[] pkcs12Password,
char[] keyPassword,
java.io.File certPem,
java.io.File keyPem)
throws java.lang.Exception
pkcs12 - The PKCS12 (.p12) filepkcs12Password - The password on the file (if unspecified, set to new char[] {})keyPassword - The password on the key entry (if unspecified, set to new char[] {})certPem - The certificate PEM (output file)keyPem - The key PEM (output file)java.lang.Exception - If any SecurityException, etc. is thrownCopyright © 2014. All Rights Reserved.