KeyPair getClientIdentity() throws IOException, GeneralSecurityException
KeyPairrepresenting the client identity
nullif 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 identity
GeneralSecurityException- If failed to parse the identity
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.