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 1e5923a commit 3565df7Copy full SHA for 3565df7
Yubico.YubiKey/src/Yubico/YubiKey/Cryptography/EcdsaVerify.cs
@@ -462,7 +462,7 @@ private static string GetOidByAlgorithm(CoseAlgorithmIdentifier algorithm)
462
CoseAlgorithmIdentifier.ECDHwHKDF256 => KeyDefinitions.KeyOids.P256,
463
CoseAlgorithmIdentifier.ES384 => KeyDefinitions.KeyOids.P384,
464
CoseAlgorithmIdentifier.ES512 => KeyDefinitions.KeyOids.P521,
465
- _ => "",
+ _ => throw new NotSupportedException(ExceptionMessages.UnsupportedAlgorithm)
466
};
467
}
468
0 commit comments