org.bouncycastle.jsse.provider.DummyX509KeyManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-fips Show documentation
Show all versions of bctls-fips Show documentation
The Bouncy Castle Java APIs for the TLS, including a JSSE provider. The APIs are designed primarily to be used in conjunction with the BC FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified and used appropriately.
package org.bouncycastle.jsse.provider;
import java.net.Socket;
import java.security.Principal;
import java.security.PrivateKey;
import java.security.cert.X509Certificate;
import javax.net.ssl.X509ExtendedKeyManager;
final class DummyX509KeyManager
extends X509ExtendedKeyManager
{
static final X509ExtendedKeyManager INSTANCE = new DummyX509KeyManager();
private DummyX509KeyManager()
{
}
public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
{
return null;
}
public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
{
return null;
}
public X509Certificate[] getCertificateChain(String alias)
{
return null;
}
public String[] getClientAliases(String keyType, Principal[] issuers)
{
return null;
}
public PrivateKey getPrivateKey(String alias)
{
return null;
}
public String[] getServerAliases(String keyType, Principal[] issuers)
{
return null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy