public class X509CertificatesCredentialReader extends AbstractCredentialReader<X509Certificate[]>
CLASSPATH_PREFIX, FILE_PREFIX, logger
Constructor and Description |
---|
X509CertificatesCredentialReader() |
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
read(InputStream is,
String... params)
Reads a credential object from an input stream.
|
getBufferedInputStream, read
public X509Certificate[] read(InputStream is, String... params) throws IOException, GeneralSecurityException
read
in interface CredentialReader<X509Certificate[]>
read
in class AbstractCredentialReader<X509Certificate[]>
is
- Input stream from which to read credential.params
- Arbitrary string parameters, e.g. password, needed to read
the credential.IOException
- On IO errors.GeneralSecurityException
- On errors with the credential data.Copyright © 2019. All rights reserved.