Algorithms Property
Algorithms
The list of supported algorithms for credential generation. This is the "pubKeyCredParams" in the standard (FIDO2 section 6.1).
C#
public IReadOnlyList<Tuple<string, CoseAlgorithmIdentifier>> Algorithms { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.Tuple<System.String, CoseAlgorithmIdentifier>> |
Remarks
Each entry in the list is a type and algorithm. Neither the type nor
algorithm are guaranteed to be unique, although each combination is.
Currently, the only type defined is "public-key". The only algorithm
the YubiKey supports is ECDSA with SHA-256 using the NIST P-256
curve. This is the pair
"public-key"/CoseAlgorithmIdentifier.ES256
.
To add an entry to the list, call AddAlgorithm(String, CoseAlgorithmIdentifier).