Interface AlgorithmProvider
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AlgorithmProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAlgorithmName(String keyId)
-
-
-
Method Detail
-
getAlgorithmName
String getAlgorithmName(String keyId)
- Parameters:
keyId- is used as lookup to find the correct configured algorithm name for this keyId The keyId is sent in the message together with the signature- Returns:
- the algorithm name (which is never
null) - Throws:
IllegalArgumentException- if it can't provide an algorithm based on keyId
-
-