Interface TlsCertificateProvider

All Superinterfaces:
TlsProvider

@NonNullByDefault public interface TlsCertificateProvider extends TlsProvider
Provides a certificate for the given host name Implement this interface to request the framework to use a specific certificate for the given host NOTE: implementations of this interface should be immutable, to guarantee efficient and correct functionality
Author:
Martin van Wingerden - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    A resources pointing to a X509 certificate for the specified host name

    Methods inherited from interface org.openhab.core.io.net.http.TlsProvider

    getHostName
  • Method Details

    • getCertificate

      URL getCertificate()
      A resources pointing to a X509 certificate for the specified host name
      Returns:
      this should refer to a file containing a base64 encoded X.509 certificate