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

            reader.ReadECParametersAsCosePublicKey();
        }