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

            reader.ReadECParametersAsCosePublicKey();
        }