public class P12KeyGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
P12KeyGenerator.KeyPairWithSubjectPublicKeyInfo |
| Constructor and Description |
|---|
P12KeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
KeyStoreWrapper |
generateDSAKeypair(int plength,
int qlength,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
KeyStoreWrapper |
generateECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
KeyStoreWrapper |
generateEdECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
static KeyStoreWrapper |
generateIdentity(P12KeyGenerator.KeyPairWithSubjectPublicKeyInfo kp,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
KeyStoreWrapper |
generateRSAKeypair(int keysize,
BigInteger publicExponent,
KeystoreGenerationParameters params,
String selfSignedCertSubject) |
KeyStoreWrapper |
generateSecretKey(String algorithm,
int keyBitLen,
KeystoreGenerationParameters params) |
public KeyStoreWrapper generateRSAKeypair(int keysize, BigInteger publicExponent, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic KeyStoreWrapper generateDSAKeypair(int plength, int qlength, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic KeyStoreWrapper generateECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic KeyStoreWrapper generateEdECKeypair(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
Exceptionpublic KeyStoreWrapper generateSecretKey(String algorithm, int keyBitLen, KeystoreGenerationParameters params) throws Exception
Exceptionpublic static KeyStoreWrapper generateIdentity(P12KeyGenerator.KeyPairWithSubjectPublicKeyInfo kp, KeystoreGenerationParameters params, String selfSignedCertSubject) throws Exception
ExceptionCopyright © 2022. All rights reserved.