Top Description Fields Constructors Methods
io.netty5.handler.ssl.util

pack-priv final Class BouncyCastleSelfSignedCertGenerator

extends Object
Class Inheritance
Imports
org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.cert.X509CertificateHolder, .X509v3CertificateBuilder, org.bouncycastle.cert.jcajce.JcaX509CertificateConverter, .JcaX509v3CertificateBuilder, org.bouncycastle.jce.provider.BouncyCastleProvider, org.bouncycastle.operator.ContentSigner, org.bouncycastle.operator.jcajce.JcaContentSignerBuilder, java.math.BigInteger, java.security.KeyPair, .PrivateKey, .Provider, .SecureRandom, java.security.cert.X509Certificate, java.util.Date

Generates a self-signed certificate using Bouncy Castle.

Field Summary

Modifier and TypeField and Description
private static final Provider

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static String[]
generate(String fqdn, KeyPair keypair, SecureRandom random, Date notBefore, Date notAfter, String algorithm)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PROVIDERback to summary
private static final Provider PROVIDER

Constructor Detail

BouncyCastleSelfSignedCertGeneratorback to summary
private BouncyCastleSelfSignedCertGenerator()

Method Detail

generateback to summary
pack-priv static String[] generate(String fqdn, KeyPair keypair, SecureRandom random, Date notBefore, Date notAfter, String algorithm) throws Exception