@FunctionalInterface
public interface ClientIdentityProvider
Modifier and Type | Method and Description |
---|---|
java.security.KeyPair |
getClientIdentity()
Provides a
KeyPair representing the client identity |
java.security.KeyPair getClientIdentity() throws java.io.IOException, java.security.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.java.io.IOException
- If failed to load the identityjava.security.GeneralSecurityException
- If failed to parse the identity