public class AuthenticationDataTls extends Object implements AuthenticationDataProvider
| Modifier and Type | Field and Description |
|---|---|
protected X509Certificate[] |
tlsCertificates |
protected PrivateKey |
tlsPrivateKey |
| Constructor and Description |
|---|
AuthenticationDataTls(String certFilePath,
String keyFilePath) |
AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider,
Supplier<ByteArrayInputStream> keyStreamProvider) |
AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider,
Supplier<ByteArrayInputStream> keyStreamProvider,
Supplier<ByteArrayInputStream> trustStoreStreamProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTlsCerificateFilePath() |
Certificate[] |
getTlsCertificates() |
PrivateKey |
getTlsPrivateKey() |
String |
getTlsPrivateKeyFilePath() |
InputStream |
getTlsTrustStoreStream() |
boolean |
hasDataForTls() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getCommandData, getHttpAuthType, getHttpHeaders, getTlsKeyStoreParams, hasDataForHttp, hasDataFromCommandprotected X509Certificate[] tlsCertificates
protected PrivateKey tlsPrivateKey
public AuthenticationDataTls(String certFilePath, String keyFilePath) throws KeyManagementException
KeyManagementExceptionpublic AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider) throws KeyManagementException
KeyManagementExceptionpublic AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider, Supplier<ByteArrayInputStream> trustStoreStreamProvider) throws KeyManagementException
KeyManagementExceptionpublic boolean hasDataForTls()
hasDataForTls in interface AuthenticationDataProviderpublic Certificate[] getTlsCertificates()
getTlsCertificates in interface AuthenticationDataProviderpublic PrivateKey getTlsPrivateKey()
getTlsPrivateKey in interface AuthenticationDataProviderpublic InputStream getTlsTrustStoreStream()
getTlsTrustStoreStream in interface AuthenticationDataProviderpublic String getTlsCerificateFilePath()
getTlsCerificateFilePath in interface AuthenticationDataProviderpublic String getTlsPrivateKeyFilePath()
getTlsPrivateKeyFilePath in interface AuthenticationDataProviderCopyright © 2017–2021 Apache Software Foundation. All rights reserved.