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(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
P12KeyGenerationResult |
generateEdECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
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(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic P12KeyGenerationResult generateEdECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic P12KeyGenerationResult generateSecretKey(String algorithm, int keyBitLen, KeystoreGenerationParameters params) throws Exception
ExceptionCopyright © 2019. All rights reserved.