Class ValidatorParams

    • Constructor Detail

      • ValidatorParams

        public ValidatorParams()
        Default constructor: proxies are allowed, no initial update listeners, default revocation settings.
      • ValidatorParams

        public ValidatorParams​(RevocationParameters revocationSettings,
                               ProxySupport allowProxy)
        Allows for setting all parameters except the list of initial listeners
        Parameters:
        revocationSettings - desired revocation settings
        allowProxy - whether to allow proxies
      • ValidatorParams

        public ValidatorParams​(RevocationParameters revocationSettings,
                               ProxySupport allowProxy,
                               java.util.Collection<? extends StoreUpdateListener> initialListeners)
        Full version, allows for setting all parameters.
        Parameters:
        revocationSettings - desired revocation settings
        allowProxy - whether to allow proxies
        initialListeners - initial trust store update listeners
    • Method Detail

      • isAllowProxy

        public ProxySupport isAllowProxy()
        Returns:
        whether to allow proxy certificates during validation
      • setAllowProxy

        public void setAllowProxy​(ProxySupport allowProxy)
        Parameters:
        allowProxy - whether to allow proxy certificates during validation
      • getInitialListeners

        public java.util.Collection<? extends StoreUpdateListener> getInitialListeners()
        Returns:
        collection of initial listeners of trust store updates
      • setInitialListeners

        public void setInitialListeners​(java.util.Collection<? extends StoreUpdateListener> initialListeners)
        Parameters:
        initialListeners - collection of initial listeners of trust store updates
      • getRevocationSettings

        public RevocationParameters getRevocationSettings()
        Returns:
        revocation checking settings
      • setRevocationSettings

        public void setRevocationSettings​(RevocationParameters revocationSettings)
        Parameters:
        revocationSettings - revocation checking settings