| CLASS info |
| public class PublicKeyCredentialDescriptor |
| Defines credential parameters to be used for FIDO2 registration or authentication. |
| Method name |
PublicKeyCredentialDescriptor(PublicKeyCredentialType type, byte[] id) Represents a constructor for PublicKeyCredentialDescriptor, which contains attributes that the calling party specifies when referencing credentials as input parameters for registration or authentication. |
PublicKeyCredentialDescriptor(PublicKeyCredentialType type, byte[] id, ArrayListtransports) Represents a constructor for PublicKeyCredentialDescriptor, which contains attributes that the calling party specifies when referencing credentials as input parameters for registration or authentication. |
| Return type | Method name |
| PublicKeyCredentialType | getType() Obtains a credential type. |
| byte[] | getId() Obtains a credential ID. |
| List | Obtains an authenticator access type list. |
Parameters
| Parameter name | Parameter desc |
| type | Credential type. |
| id | ID of the public key credential referenced by the calling party. |
Parameters
| Parameter name | Parameter desc |
| type | Credential type. |
| id | ID of the public key credential referenced by the calling party. |
| transports | List of authenticator access types, including USB, NFC, and Bluetooth. |
| Method |
| getType() |
| Obtains a credential type. |
Return
| type | desc |
| PublicKeyCredentialType | Credential type. |
| Method |
| getId() |
| Obtains a credential ID. |
Return
| type | desc |
| byte[] | Credential ID. |
| Method |
| getTransports() |
| Obtains an authenticator access type list. |
Return
| type | desc |
| List | Authenticator access type list. |