Interface CertificateProvider

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void clear(String host, int port) Invoked if the certificate for the given host and port is rejected.
      abstract void clear() Invoked if the user wishes to forget all certificates from the provider.
      abstract void onCertificateRequest(CertificateRequest request) Invoked when a client certificate is requested.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • clear

         abstract void clear(String host, int port)

        Invoked if the certificate for the given host and port is rejected.

        Parameters:
        host - The host name of the server requesting the certificate.
        port - The port number of the server requesting the certificate
      • clear

         abstract void clear()

        Invoked if the user wishes to forget all certificates from the provider.