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) |
Modifier and Type | Method and Description |
---|---|
Certificate[] |
getTlsCertificates() |
PrivateKey |
getTlsPrivateKey() |
boolean |
hasDataForTls() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, getCommandData, getHttpAuthType, getHttpHeaders, getTlsKeyStoreParams, hasDataForHttp, hasDataFromCommand
protected X509Certificate[] tlsCertificates
protected PrivateKey tlsPrivateKey
public AuthenticationDataTls(String certFilePath, String keyFilePath) throws KeyManagementException
KeyManagementException
public AuthenticationDataTls(Supplier<ByteArrayInputStream> certStreamProvider, Supplier<ByteArrayInputStream> keyStreamProvider) throws KeyManagementException
KeyManagementException
public boolean hasDataForTls()
hasDataForTls
in interface AuthenticationDataProvider
public Certificate[] getTlsCertificates()
getTlsCertificates
in interface AuthenticationDataProvider
public PrivateKey getTlsPrivateKey()
getTlsPrivateKey
in interface AuthenticationDataProvider
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.