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 7f365ff commit 5b1352dCopy full SHA for 5b1352d
Yubico.YubiKey/src/Yubico/YubiKey/Cryptography/EcdsaVerify.cs
@@ -173,15 +173,14 @@ public EcdsaVerify(PivPublicKey pivPublicKey)
173
ECDsa = ConvertPublicKey(publicPointSpan.ToArray());
174
}
175
176
- // TODO Test
177
public EcdsaVerify(ECPublicKey publicKey)
178
{
179
if (publicKey is null)
180
181
throw new ArgumentNullException(nameof(publicKey));
182
183
184
- if (!publicKey.KeyType.IsECDsa() || !publicKey.KeyType.IsCurve25519())
+ if (!publicKey.KeyType.IsECDsa())
185
186
throw new ArgumentException("Invalid key type", nameof(publicKey));
187
0 commit comments