PinUvAuthParam Property
PinUvAuthParam
The result of calling the PinProtocol's method AuthenticateUsingPinToken(Byte[], Byte[]) using the PIN token as the key and the client data hash as the message. This is an optional parameter, so it can be null.
public Nullable<ReadOnlyMemory<byte>> PinUvAuthParam { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.ReadOnlyMemory<System.Byte>> |
Remarks
In order to obtain the pinUvAuthParam
, choose a protocol and
build the appropriate PinUvAuthProtocolBase object.
Obtain the YubiKey's Key Agreement public key and call the protocol
object's Encapsulate
method. Next obtain the PIN token.
Finally, call the protocol object's
AuthenticateUsingPinToken(byte[], byte[])
method using the
ClientDataHash
as the message to authenticate. Note that the
first argument in this call is the PIN token, which is an encrypted
value. Do not decrypt the PIN token. The result of that
authentication operation is the PinUvAuthParam