Skip to content

Commit 6fa3f77

Browse files
committed
Add Java algorithm name mappings for RS384 and RS512
1 parent 3015729 commit 6fa3f77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webauthn-server-core/src/main/java/com/yubico/webauthn/WebAuthnCodecs.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ static String getJavaAlgorithmName(COSEAlgorithmIdentifier alg) {
154154
return "SHA256withECDSA";
155155
case RS256:
156156
return "SHA256withRSA";
157+
case RS384:
158+
return "SHA384withRSA";
159+
case RS512:
160+
return "SHA512withRSA";
157161
case RS1:
158162
return "SHA1withRSA";
159163
default:

0 commit comments

Comments
 (0)