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.
 
int? Permissions [get, set]
 Permissions for PIN token usage (CTAP2.1+). Optional parameter (CTAP2 key: 0x09). Bit flags indicating allowed operations (1=MakeCredential, 2=GetAssertion, 4=CredentialMgmt, 8=BioEnrolment, 10=LargeBlobWrite, 20=AuthenticatorConfig).
 
byte?[] PinAuth [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.
 
byte?[] PinHashEnc [get, set]
 Encrypted PIN hash. Optional parameter (CTAP2 key: 0x06). Required for getPinToken and changePIN subcommands. AES256-CBC encrypted with shared secret.
 
uint PinProtocol [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

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

Permissions for PIN token usage (CTAP2.1+). Optional parameter (CTAP2 key: 0x09). Bit flags indicating allowed operations (1=MakeCredential, 2=GetAssertion, 4=CredentialMgmt, 8=BioEnrolment, 10=LargeBlobWrite, 20=AuthenticatorConfig).

◆ PinAuth

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

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

◆ 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.

◆ PinProtocol

uint CrescendoDLL.PCSC.FIDODataStructures.ClientPINRequest.PinProtocol
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.