Package org.openhab.core.io.net.http
Interface ExtensibleTrustManager
- All Superinterfaces:
TrustManager
Provides an extensible composite TrustManager
The trust manager can be extended with implementations of the following interfaces:
-
TlsTrustManagerProvider
- TlsCertificateProvider
- Author:
- Martin van Wingerden - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTlsCertificateProvider
(TlsCertificateProvider tlsCertificateProvider) Add aTlsCertificateProvider
to be used by HttpClient / WebSocket Client's When the Provider is no longer valid please make sure to remove it.void
addTlsTrustManagerProvider
(TlsTrustManagerProvider tlsTrustManagerProvider) Add aTlsTrustManagerProvider
to be used by HttpClient / WebSocket Client's When the Provider is no longer valid please make sure to remove it.void
removeTlsCertificateProvider
(TlsCertificateProvider tlsCertificateProvider) Remove aTlsCertificateProvider
so it will longer be used by HttpClient / WebSocket Client'svoid
removeTlsTrustManagerProvider
(TlsTrustManagerProvider tlsTrustManagerProvider) Remove aTlsTrustManagerProvider
so it will longer be used by HttpClient / WebSocket Client's
-
Method Details
-
addTlsCertificateProvider
Add aTlsCertificateProvider
to be used by HttpClient / WebSocket Client's When the Provider is no longer valid please make sure to remove it.- Parameters:
tlsCertificateProvider
- same instance as given when removing
-
removeTlsCertificateProvider
Remove aTlsCertificateProvider
so it will longer be used by HttpClient / WebSocket Client's- Parameters:
tlsCertificateProvider
- same instance as given when adding
-
addTlsTrustManagerProvider
Add aTlsTrustManagerProvider
to be used by HttpClient / WebSocket Client's When the Provider is no longer valid please make sure to remove it.- Parameters:
tlsTrustManagerProvider
- same instance as given when removing
-
removeTlsTrustManagerProvider
Remove aTlsTrustManagerProvider
so it will longer be used by HttpClient / WebSocket Client's- Parameters:
tlsTrustManagerProvider
- same instance as given when adding
-