@FunctionalInterface public interface ClientIdentityProvider
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
getClientIdentity()
Provides a
KeyPair representing the client identity |
KeyPair getClientIdentity() throws IOException, GeneralSecurityException
KeyPair representing the client identitynull if no currently
available identity from this provider. Note: the provider
may return a different value every time this method is called
- e.g., if it is (re-)loading contents from a file.IOException - If failed to load the identityGeneralSecurityException - If failed to parse the identityCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.