Interface MacAlgorithm
-
- All Superinterfaces:
Algorithm,JoseAlgorithm
- All Known Implementing Classes:
MacAlgorithmImpl
public interface MacAlgorithm extends JoseAlgorithm
Representation of a MAC algorithm.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MessageDigestAlgorithmgetMessageDigestAlgorithm()Gets the message digest algorithm that this MAC algorithm uses.default AlgorithmTypegetType()Gets the algorithm type.-
Methods inherited from interface se.swedenconnect.security.algorithms.Algorithm
getJcaName, getOrder, getUri, isBlacklisted
-
Methods inherited from interface se.swedenconnect.security.algorithms.JoseAlgorithm
getJoseAlgorithm
-
-
-
-
Method Detail
-
getType
default AlgorithmType getType()
Gets the algorithm type.
-
getMessageDigestAlgorithm
MessageDigestAlgorithm getMessageDigestAlgorithm()
Gets the message digest algorithm that this MAC algorithm uses.- Returns:
- the message digest algorithm
-
-