1 write to _type
Microsoft.AspNetCore.Identity (1)
Passkeys\CredentialPublicKey.cs (1)
24
_type
= (COSEKeyType)reader.ReadInt32();
7 references to _type
Microsoft.AspNetCore.Identity (7)
Passkeys\CredentialPublicKey.cs (7)
27
switch (
_type
)
31
_ecdsa = ParseECDsa(
_type
, reader);
37
throw new InvalidOperationException($"Unsupported key type '{
_type
}'.");
69
return
_type
switch
73
_ => throw new InvalidOperationException($"Missing or unknown kty {
_type
}"),
164
if (
_type
!= COSEKeyType.RSA)
166
throw new InvalidOperationException($"Cannot get RSA signature padding for key type {
_type
}.");