9 references to COSEKeyType
Microsoft.AspNetCore.Identity.Test (9)
Passkeys\CredentialKeyPair.cs (9)
16
private readonly
COSEKeyType
_keyType;
23
_keyType =
COSEKeyType
.RSA;
30
_keyType =
COSEKeyType
.EC2;
59
COSEKeyType
.RSA => SignRsaData(data),
60
COSEKeyType
.EC2 => SignEcData(data),
105
COSEKeyType
.RSA => EncodeCoseRsaPublicKey(_rsa!, _alg),
106
COSEKeyType
.EC2 => EncodeCoseEcPublicKey(_ecdsa!, _alg, _curve),
118
writer.WriteInt32((int)
COSEKeyType
.RSA);
141
writer.WriteInt32((int)
COSEKeyType
.EC2);