Package org.opensaml.security.x509
Class TrustedNamesCriterion
java.lang.Object
org.opensaml.security.x509.TrustedNamesCriterion
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the set of trusted names.inthashCode()processNames(Set<String> names) Sanitize input names.voidsetTrustedNames(Set<String> names) Set the set of trusted names.toString()
-
Field Details
-
trustedNames
The set of trusted names.
-
-
Constructor Details
-
TrustedNamesCriterion
Constructor.- Parameters:
names- the set of trusted names
-
-
Method Details
-
getTrustedNames
Get the set of trusted names.- Returns:
- the set of trusted names
-
setTrustedNames
Set the set of trusted names.- Parameters:
names- the new trusted names
-
toString
-
hashCode
public int hashCode() -
equals
-
processNames
Sanitize input names.- Parameters:
names- input names- Returns:
- sanitized set
-