Skip to content

Most visited

Recently visited

navigation
Added in API level 1

X509ExtendedKeyManager

public abstract class X509ExtendedKeyManager
extends Object implements X509KeyManager

java.lang.Object
   ↳ javax.net.ssl.X509ExtendedKeyManager


The abstract extension for the X509KeyManager interface.

Summary

Protected constructors

X509ExtendedKeyManager()

To be used by subclasses only.

Public methods

String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)

Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.

String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)

Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.

Inherited methods

From class java.lang.Object
From interface javax.net.ssl.X509KeyManager

Protected constructors

X509ExtendedKeyManager

Added in API level 1
X509ExtendedKeyManager ()

To be used by subclasses only.

Creates a new X509ExtendedKeyManager instance.

Public methods

chooseEngineClientAlias

Added in API level 1
String chooseEngineClientAlias (String[] keyType, 
                Principal[] issuers, 
                SSLEngine engine)

Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.

Parameters
keyType String: the list of public key algorithm names.
issuers Principal: the list of certificate issuers, or null if any issuer will do.
engine SSLEngine: the SSLEngine for the connection, or null if no engine is predefined.
Returns
String the alias name of a matching key or null if there are no matches.

chooseEngineServerAlias

Added in API level 1
String chooseEngineServerAlias (String keyType, 
                Principal[] issuers, 
                SSLEngine engine)

Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.

Parameters
keyType String: the list of public key algorithm names.
issuers Principal: the list of certificate issuers, or null if any issuer will do.
engine SSLEngine: the SSLEngine for the connection, or null if no engine is predefined.
Returns
String the alias name of a matching key or null if there are no matches.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.