public class CTAPCommandMakeCredentialParam
HidParam はHIDAuthenticatorConnector
クラスのコンストラクタに指定します。
HidParamで検索対象のHIDタイプのFIDOキーを指定します。
HIDデバイスはベンダーID、プロダクトID、DescriptionをもっておりHIDタイプのFIDOキーも製品毎に異なっています。
HIDAuthenticatorConnector
クラスのGetAllHIDDeviceInfo()
でベンダーID、プロダクトIDを調査することもできますが、とりあえず、GetDefaultParams() で主要なFIDOキーのHidParmを作成することができます。あるいは、HIDAuthenticatorConnector
のコンストラクタにHidParamを指定しなければ GetDefaultParams() が適用されます。
member | |
---|---|
int VendorId | 検索対象のベンダーID |
int ProductId | 検索対象のプロダクトID。0の場合は全てのプロダクトID |
string Something | 検索対象のDescription |
method | 機能 | 備考 |
---|---|---|
static List<HidParam> GetDefaultParams() |
主要なFIDOキーのHidParmを作成する | 詳細はHIDParam.cs参照 |
public class CTAPCommandMakeCredentialParam
CTAPCommandMakeCredentialParamはAuthenticatorConnector
クラスMakeCredentialAsync
メソッドの引数です。
member | |
---|---|
string RpId string RpName byte[] UserId string UserName string UserDisplayName bool Option_rk bool Option_uv |
5.1. authenticatorMakeCredential (0x01) |
method | 機能 | 備考 |
---|---|---|
public CTAPCommandMakeCredentialParam (string rpid, byte[] challenge,byte[] userid) |
コンストラクタ | 引数はコマンド実行に必須のメンバ |
public class CTAPCommandGetAssertionParam
CTAPCommandGetAssertionParamはAuthenticatorConnector
クラスCTAPCommandGetAssertion
メソッドの引数です。
member | |
---|---|
string RpId byte[] ClientDataHash byte[] AllowList_CredentialId bool Option_up bool Option_uv |
5.2. authenticatorGetAssertion (0x02) |
method | 機能 | 備考 |
---|---|---|
CTAPCommandGetAssertionParam (string rpid,byte[] challenge,byte[] credentialid=null) |
コンストラクタ | 引数はコマンド実行に必須のメンバ |
public class Serializer
Attestation
クラス、Assertion
クラスをシリアライズ、デシリアライズします。
method | ||
---|---|---|
static byte[] Serialize (Attestation att) |
Attestationをシリアライズします | |
static Attestation DeserializeAttestation (byte[] byteData) |
Attestationをデシリアライズします | |
static byte[] Serialize (Assertion ass) |
Assertionをシリアライズします | |
static Assertion DeserializeAssertion (byte[] byteData) |
Assertionをデシリアライズします |