edu.vt.middleware.ldap.ssl
public class KeyStoreCredentialReader extends AbstractCredentialReader<java.security.KeyStore>
CLASSPATH_PREFIX, FILE_PREFIX, logger
Constructor and Description |
---|
KeyStoreCredentialReader() |
Modifier and Type | Method and Description |
---|---|
java.security.KeyStore |
read(java.io.InputStream is,
java.lang.String... params)
Reads a keystore from an input stream.
|
getBufferedInputStream, read
public java.security.KeyStore read(java.io.InputStream is, java.lang.String... params) throws java.io.IOException, java.security.GeneralSecurityException
read
in interface CredentialReader<java.security.KeyStore>
read
in class AbstractCredentialReader<java.security.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.
java.io.IOException
- On IO errors.java.security.GeneralSecurityException
- On errors with the credential data.Copyright © 2014. All Rights Reserved.