public class P12KeyGenerator extends Object
| Constructor and Description |
|---|
P12KeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
P12KeyGenerationResult |
generateDSAKeypair(int plength,
int qlength,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
P12KeyGenerationResult |
generateECKeypair(String curveNameOrOid,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
P12KeyGenerationResult |
generateRSAKeypair(int keysize,
BigInteger publicExponent,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
P12KeyGenerationResult |
generateSecretKey(String algorithm,
int keyBitLen,
KeystoreGenerationParameters params) |
public P12KeyGenerationResult generateRSAKeypair(int keysize, BigInteger publicExponent, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic P12KeyGenerationResult generateDSAKeypair(int plength, int qlength, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic P12KeyGenerationResult generateECKeypair(String curveNameOrOid, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic P12KeyGenerationResult generateSecretKey(String algorithm, int keyBitLen, KeystoreGenerationParameters params) throws Exception
ExceptionCopyright © 2018. All rights reserved.