org.bouncycastle.jsse.provider.X509KeyManagerUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-jdk15to18 Show documentation
Show all versions of bctls-jdk15to18 Show documentation
The Bouncy Castle Java APIs for TLS and DTLS, including a provider for the JSSE.
package org.bouncycastle.jsse.provider;
import javax.net.ssl.X509ExtendedKeyManager;
import javax.net.ssl.X509KeyManager;
import org.bouncycastle.jcajce.util.JcaJceHelper;
abstract class X509KeyManagerUtil
{
static X509ExtendedKeyManager importX509KeyManager(JcaJceHelper helper, X509KeyManager x509KeyManager)
{
if (x509KeyManager instanceof X509ExtendedKeyManager)
{
return (X509ExtendedKeyManager)x509KeyManager;
}
return new ImportX509KeyManager_5(helper, x509KeyManager);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy