PublicKeyCredentialParameters
Namespace: Wisej.Ext.WebAuthn
Assembly: Wisej.Ext.WebAuthn
Contains information about the desired properties of the credential to be created.
- C#
- VB.NET
public class PublicKeyCredentialParameters
Public Class PublicKeyCredentialParameters
Constructors
PublicKeyCredentialParameters()
Creates a new instance of PublicKeyCredentialParameters.
PublicKeyCredentialParameters(alg, type)
Creates a new instance of PublicKeyCredentialParameters with the given configuration.
| Name | Type | Description |
|---|---|---|
| alg | COSEAlgorithmIdentifier | |
| type | String | The type of credential key (i.e. "public-key"). |
Properties
Alg
COSEAlgorithmIdentifier: Specifies the cryptographic signature algorithm with which the newly generated credential will be used, and thus also the type of asymmetric key pair to be generated, e.g., RSA or Elliptic Curve.
Type
String: This member specifies the type of credential to be created (i.e. "public-key").
Methods
ToJSON()
Returns a JSON representation of the current object.
Returns: String. The JSON object representation.