public final class BoringSSLKeylessManagerFactory extends KeyManagerFactory
KeyManagerFactory that can be used to support custom key signing via BoringSSLAsyncPrivateKeyMethod.| Modifier and Type | Method and Description |
|---|---|
static BoringSSLKeylessManagerFactory |
newKeyless(BoringSSLAsyncPrivateKeyMethod privateKeyMethod,
File chain)
Creates a new factory instance.
|
static BoringSSLKeylessManagerFactory |
newKeyless(BoringSSLAsyncPrivateKeyMethod privateKeyMethod,
InputStream chain)
Creates a new factory instance.
|
static BoringSSLKeylessManagerFactory |
newKeyless(BoringSSLAsyncPrivateKeyMethod privateKeyMethod,
X509Certificate... certificateChain)
Creates a new factory instance.
|
getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getKeyManagers, getProvider, init, initpublic static BoringSSLKeylessManagerFactory newKeyless(BoringSSLAsyncPrivateKeyMethod privateKeyMethod, File chain) throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
privateKeyMethod - the BoringSSLAsyncPrivateKeyMethod that is used for key signing.chain - the File that contains the X509Certificate chain.CertificateException - on error.IOException - on error.KeyStoreException - on error.NoSuchAlgorithmException - on error.UnrecoverableKeyException - on error.public static BoringSSLKeylessManagerFactory newKeyless(BoringSSLAsyncPrivateKeyMethod privateKeyMethod, InputStream chain) throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
privateKeyMethod - the BoringSSLAsyncPrivateKeyMethod that is used for key signing.chain - the InputStream that contains the X509Certificate chain.CertificateException - on error.IOException - on error.KeyStoreException - on error.NoSuchAlgorithmException - on error.UnrecoverableKeyException - on error.public static BoringSSLKeylessManagerFactory newKeyless(BoringSSLAsyncPrivateKeyMethod privateKeyMethod, X509Certificate... certificateChain) throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
privateKeyMethod - the BoringSSLAsyncPrivateKeyMethod that is used for key signing.certificateChain - the X509Certificate chain.CertificateException - on error.IOException - on error.KeyStoreException - on error.NoSuchAlgorithmException - on error.UnrecoverableKeyException - on error.Copyright © 2020–2025 The Netty Project. All rights reserved.