Package org.apache.http.ssl
Interface PrivateKeyStrategy
-
public interface PrivateKeyStrategy
A strategy allowing for a choice of an alias during SSL authentication.- Since:
- 4.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
chooseAlias(java.util.Map<java.lang.String,PrivateKeyDetails> aliases, java.net.Socket socket)
Determines what key material to use for SSL authentication.
-
-
-
Method Detail
-
chooseAlias
java.lang.String chooseAlias(java.util.Map<java.lang.String,PrivateKeyDetails> aliases, java.net.Socket socket)
Determines what key material to use for SSL authentication.- Parameters:
aliases
- available private key materialsocket
- socket used for the connection. Please note this parameter can benull
if key material is applicable to any socket.
-
-