Class TrustedNamesCriterion

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.resolver.Criterion

    public class TrustedNamesCriterion
    extends Object
    implements net.shibboleth.utilities.java.support.resolver.Criterion
    A criterion implementation for conveying a dynamically-generated set of trusted names for PKIX validation purposes. This criterion would typically be evaluated by a PKIXValidationInformationResolver that supports trusted name resolution.
    • Field Detail

      • trustedNames

        private Set<String> trustedNames
        The set of trusted names.
    • Constructor Detail

      • TrustedNamesCriterion

        public TrustedNamesCriterion​(@Nonnull
                                     Set<String> names)
        Constructor.
        Parameters:
        names - the set of trusted names
    • Method Detail

      • getTrustedNames

        @Nonnull
        @NonnullElements
        @NotLive
        @Unmodifiable
        public Set<String> getTrustedNames()
        Get the set of trusted names.
        Returns:
        the set of trusted names
      • setTrustedNames

        public void setTrustedNames​(@Nullable
                                    Set<String> names)
        Set the set of trusted names.
        Parameters:
        names - the new trusted names
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object