public void WriteCoseKey(ECDsaCosePublicKey publicKey) { _ctap2Writer.Reset(); _ctap2Writer.WriteECParametersAsCosePublicKey(publicKey.ECParameters, publicKey.HashAlgorithmName); _ctap2Writer.Encode(_writeBuffer); }
public IEnumerable <object> ECDSaCosePublicKeys() => ECDsaCosePublicKey.CreatePublicKeys();
public void ReadCoseKey(ECDsaCosePublicKey publicKey) { var reader = new CborReader(publicKey.EncodedCoseKey, CborConformanceMode.Ctap2Canonical); reader.ReadECParametersAsCosePublicKey(); }