Class SelfSignedResponse


  • public final class SelfSignedResponse
    extends Object
    Represents the response from a user defined SelfSignedCertificateListener. Contains two boolean properties
    • isTrusted, indicating whether or not the self signed certificate should be trusted
    • isCacheEnabled, indicating whether this response should be cached for further use, or if the user should continue to be prompted for this service.
    Since:
    100.0.0
    • Constructor Detail

      • SelfSignedResponse

        public SelfSignedResponse​(boolean trusted,
                                  boolean enableCache)
        Constructs a SelfSignedResponse with the specified trusted and should cache values.
        Parameters:
        trusted - true if the certificate should be trusted, otherwise false
        enableCache - true if the response should be cached, otherwise false
        Since:
        100.0.0
    • Method Detail

      • isTrusted

        public boolean isTrusted()
        Returns whether or not the self signed certificate should be trusted.
        Returns:
        true if the certificate should be trusted, otherwise false
        Since:
        100.0.0
      • isCacheEnabled

        public boolean isCacheEnabled()
        Returns a boolean indicating whether this response should be cached for further use, or if the user should continue to be prompted for this service.
        Returns:
        true if the response will be cached, otherwise false
        Since:
        100.0.0