Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`String` | `chooseAlias(Map<String,PrivateKeyDetails> aliases, Socket socket)` Determines what key material to use for SSL authentication.

Method Detail

### chooseAlias

    String chooseAlias(Map<String,PrivateKeyDetails> aliases,
                       Socket socket)

  Determines what key material to use for SSL authentication.

  Parameters:
    `aliases` - available private key material
    `socket` - socket used for the connection. Please note this parameter can be `null` if key material is applicable to any socket.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.