Crescendo SDK
Loading...
Searching...
No Matches
CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest Class Reference

Represents parameters for the FIDO CTAP2 authenticatorClientPIN command. More...

Properties

COSEKeyKeyAgreement [get, set]
 Platform's key agreement public key. Optional parameter (CTAP2 key: 0x03). Required for subcommands that establish shared secrets (e.g., setPIN, changePIN).
 
byte?[] NewPinEnc [get, set]
 Encrypted new PIN value. Optional parameter (CTAP2 key: 0x05). Required for setPIN and changePIN subcommands. AES256-CBC encrypted with shared secret.
 
byte? Permissions [get, set]
 Permissions for PIN token usage (CTAP2.1+). Optional parameter (CTAP2 key: 0x09). Bit flags indicating allowed operations (0x01=MakeCredential, 0x02=GetAssertion, 0x04=CredentialManagement, 0x08=BioEnrolment, 0x10=LargeBlobWrite, 0x20=AuthenticatorConfig). Flags Enum CrescendoDLL.PCSC.PinUvAuthTokenPermissions can be used for the permission definition."/>
 
byte?[] PinHashEnc [get, set]
 Encrypted PIN hash. Optional parameter (CTAP2 key: 0x06). Required for getPinToken and changePIN subcommands. AES256-CBC encrypted with shared secret.
 
byte?[] PinUvAuthParam [get, set]
 Authentication signature for the request. Optional parameter (CTAP2 key: 0x04). HMAC-SHA256 of request data using shared secret for PIN protocol version 1.
 
uint PinUVAuthProtocol [get, set]
 PIN protocol version selected by the platform. Required parameter (CTAP2 canonical CBOR encoding key: 0x01).
 
string? RpId [get, set]
 Relying Party ID for permission scoping (CTAP2.1+). Optional parameter (CTAP2 key: 0x0A). Limits PIN token usage to specific RP when using permissions.
 
byte SubCommand [get, set]
 Subcommand for PIN operations. Required parameter (CTAP2 key: 0x02). Valid values from CrescendoDLL.PCSC.AuthenticatorClientPINSubCommand enum: getPinToken, setPIN, changePIN, etc.
 

Detailed Description

Represents parameters for the FIDO CTAP2 authenticatorClientPIN command.

Property Documentation

◆ KeyAgreement

COSEKey? CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.KeyAgreement
getset

Platform's key agreement public key. Optional parameter (CTAP2 key: 0x03). Required for subcommands that establish shared secrets (e.g., setPIN, changePIN).

◆ NewPinEnc

byte? [] CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.NewPinEnc
getset

Encrypted new PIN value. Optional parameter (CTAP2 key: 0x05). Required for setPIN and changePIN subcommands. AES256-CBC encrypted with shared secret.

◆ Permissions

byte? CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.Permissions
getset

Permissions for PIN token usage (CTAP2.1+). Optional parameter (CTAP2 key: 0x09). Bit flags indicating allowed operations (0x01=MakeCredential, 0x02=GetAssertion, 0x04=CredentialManagement, 0x08=BioEnrolment, 0x10=LargeBlobWrite, 0x20=AuthenticatorConfig). Flags Enum CrescendoDLL.PCSC.PinUvAuthTokenPermissions can be used for the permission definition."/>

◆ PinHashEnc

byte? [] CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.PinHashEnc
getset

Encrypted PIN hash. Optional parameter (CTAP2 key: 0x06). Required for getPinToken and changePIN subcommands. AES256-CBC encrypted with shared secret.

◆ PinUvAuthParam

byte? [] CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.PinUvAuthParam
getset

Authentication signature for the request. Optional parameter (CTAP2 key: 0x04). HMAC-SHA256 of request data using shared secret for PIN protocol version 1.

◆ PinUVAuthProtocol

uint CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.PinUVAuthProtocol
getset

PIN protocol version selected by the platform. Required parameter (CTAP2 canonical CBOR encoding key: 0x01).

◆ RpId

string? CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.RpId
getset

Relying Party ID for permission scoping (CTAP2.1+). Optional parameter (CTAP2 key: 0x0A). Limits PIN token usage to specific RP when using permissions.

◆ SubCommand

byte CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.SubCommand
getset

Subcommand for PIN operations. Required parameter (CTAP2 key: 0x02). Valid values from CrescendoDLL.PCSC.AuthenticatorClientPINSubCommand enum: getPinToken, setPIN, changePIN, etc.