Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public abstract class

X509ExtendedKeyManager

extends Object
implements X509KeyManager
java.lang.Object
   ↳ javax.net.ssl.X509ExtendedKeyManager

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.net.ssl.X509KeyManager

Protected Constructors

protected X509ExtendedKeyManager ()

Added in API level 1

To be used by subclasses only.

Creates a new X509ExtendedKeyManager instance.

Public Methods

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

Added in API level 1

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 the list of public key algorithm names.
issuers the list of certificate issuers, or null if any issuer will do.
engine the SSLEngine for the connection, or null if no engine is predefined.
Returns
  • the alias name of a matching key or null if there are no matches.

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

Added in API level 1

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 the list of public key algorithm names.
issuers the list of certificate issuers, or null if any issuer will do.
engine the SSLEngine for the connection, or null if no engine is predefined.
Returns
  • the alias name of a matching key or null if there are no matches.