File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 42
42
import com .yubico .webauthn .data .CollectedClientData ;
43
43
import com .yubico .webauthn .data .PublicKeyCredential ;
44
44
import com .yubico .webauthn .data .PublicKeyCredentialCreationOptions ;
45
+ import com .yubico .webauthn .data .PublicKeyCredentialParameters ;
45
46
import com .yubico .webauthn .data .UserVerificationRequirement ;
46
47
import java .io .IOException ;
47
48
import java .security .InvalidAlgorithmParameterException ;
@@ -330,7 +331,7 @@ public void validate() {
330
331
"Unrequested credential key algorithm: got %d, expected one of: %s" ,
331
332
alg ,
332
333
request .getPubKeyCredParams ().stream ()
333
- .map (pkcparam -> pkcparam . getAlg () )
334
+ .map (PublicKeyCredentialParameters :: getAlg )
334
335
.collect (Collectors .toList ()));
335
336
try {
336
337
WebAuthnCodecs .importCosePublicKey (publicKeyCose );
You can’t perform that action at this time.
0 commit comments