PivBioMetadata Constructor
PivBioMetadata(ReadOnlyMemory<Byte>)
The constructor that takes in the bio metadata encoding returned by the YubiKey in response to the GetBioMetadataCommand.
C#
public PivBioMetadata(ReadOnlyMemory<byte> responseData)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Byte> | responseData | The data portion of the response APDU, this is the encoded bio metadata. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The data supplied is not valid PIV bio metadata. |