MaxFriendlyNameBytes Property
MaxFriendlyNameBytes
The maximum length, in bytes, of a template friendly name. This is an optional element and can be null.
C#
public Nullable<int> MaxFriendlyNameBytes { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Remarks
A "template" is one biometric entry: all the data the YubiKey stores for one fingerprint. The FIDO2 standard uses the word template because there could be several types of biometric entries, such as fingerprint, face, voice, or more. So one template is one entry. The friendly name can be "right-index" or "left-thumb".
With the SDK, you provide a friendly name as a string. Before it is stored, it is converted to UTF-8. The length, in bytes, of the friendly name is therefore the number of bytes in the UTF-8 array that is the converted string.