Class AttributeValuesHashFunction
- java.lang.Object
-
- net.shibboleth.idp.consent.logic.impl.AttributeValuesHashFunction
-
- All Implemented Interfaces:
Function<Collection<IdPAttributeValue>,String>
public class AttributeValuesHashFunction extends Object implements Function<Collection<IdPAttributeValue>,String>
Function to calculate the hash of the values of an IdP attribute. Returnsnullfor anullinput or empty collection of IdP attribute values.NullIdP attribute values are ignored. The hash returned is the Base64 encoded representation of the SHA-256 digest.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description AttributeValuesHashFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(Collection<IdPAttributeValue> input)
-
-
-
Method Detail
-
apply
@Nullable public String apply(@Nullable @NonnullElements Collection<IdPAttributeValue> input)
- Specified by:
applyin interfaceFunction<Collection<IdPAttributeValue>,String>
-
-