public class KeyStoreCredentialReader extends AbstractCredentialReader<KeyStore>
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, readpublic KeyStore read(InputStream is, String... params) throws IOException, GeneralSecurityException
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 © 2003-2019 Virginia Tech. All Rights Reserved.