public class KeyStoreCredentialReader extends AbstractCredentialReader<KeyStore>
CLASSPATH_PREFIX, FILE_PREFIX, logger
Constructor and Description |
---|
KeyStoreCredentialReader() |
Modifier and Type | Method and Description |
---|---|
KeyStore |
read(InputStream is,
String... params)
Reads a keystore from an input stream.
|
getBufferedInputStream, read
public KeyStore read(InputStream is, String... params) throws IOException, GeneralSecurityException
read
in interface CredentialReader<KeyStore>
read
in class AbstractCredentialReader<KeyStore>
is
- Input stream from which to read keystore.params
- Two optional parameters are supported:
If only a single parameter is supplied, it is assumed to be the password.
IOException
- On IO errors.GeneralSecurityException
- On errors with the credential data.Copyright © 2019. All rights reserved.