Top Description Methods
org.apache.http.ssl

public Interface PrivateKeyStrategy

Imports
java.net.Socket, java.util.Map

A strategy allowing for a choice of an alias during SSL authentication.
Since
4.4

Method Summary

Modifier and TypeMethod and Description
public String
chooseAlias(Map<String, PrivateKeyDetails>
available private key material
aliases
,
Socket
socket used for the connection. Please note this parameter can be null if key material is applicable to any socket.
socket
)

Determines what key material to use for SSL authentication.

Method Detail

chooseAliasback to summary
public String chooseAlias(Map<String, PrivateKeyDetails> aliases, Socket socket)

Determines what key material to use for SSL authentication.

Parameters
aliases:Map<String, PrivateKeyDetails>

available private key material

socket:Socket

socket used for the connection. Please note this parameter can be null if key material is applicable to any socket.