Package org.forgerock.json.jose.jwt
Interface Algorithm
- All Known Implementing Classes:
JweAlgorithm
,JwsAlgorithm
public interface Algorithm
The interface for each possible algorithm that can be used to sign and/or encrypt a JWT.
- Since:
- 2.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the actual name of the algorithm that is understood by Java cryptographic operations.Gets the name of the algorithm as defined in the JWA standard.
-
Method Details
-
getAlgorithm
Gets the actual name of the algorithm that is understood by Java cryptographic operations.- Returns:
- The name of the algorithm.
-
getJwaAlgorithmName
Gets the name of the algorithm as defined in the JWA standard.- Returns:
- The name of the algorithm.
-