We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 358131c commit 2d11de8Copy full SHA for 2d11de8
src/test/java/org/tomitribe/auth/signatures/AlgorithmTest.java
@@ -102,4 +102,12 @@ public void nonAlphaNumericsIgnored() throws Exception {
102
public void unsupportedAlgorithmException() throws Exception {
103
Algorithm.get("HmacMD256");
104
}
105
+
106
+ @Test
107
+ public void getSigningAlgorithm() throws Exception {
108
+ for (final SigningAlgorithm algorithm : SigningAlgorithm.values()) {
109
+ SigningAlgorithm s = SigningAlgorithm.get(algorithm.getAlgorithmName());
110
+ assertEquals(algorithm, s);
111
+ }
112
113
0 commit comments