Package org.opensaml.security.x509
Class TrustedNamesCriterion
- java.lang.Object
-
- org.opensaml.security.x509.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 aPKIXValidationInformationResolverthat supports trusted name resolution.
-
-
Field Summary
Fields Modifier and Type Field Description private Set<String>trustedNamesThe set of trusted names.
-
Constructor Summary
Constructors Constructor Description TrustedNamesCriterion(Set<String> names)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Set<String>getTrustedNames()Get the set of trusted names.inthashCode()voidsetTrustedNames(Set<String> names)Set the set of trusted names.StringtoString()
-
-
-
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
-
-