RelyingParty Constructor
RelyingParty(String)
Constructs a new instance of RelyingParty.
C#
public RelyingParty(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The relying party ID. |
RelyingParty(ReadOnlyMemory<Byte>)
Constructs a new instance of RelyingParty based on the encoded value.
C#
public RelyingParty(ReadOnlyMemory<byte> encodedRelyingParty)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Byte> | encodedRelyingParty | The CBOR-encoded relying party info. |
Exceptions
Type | Condition |
---|---|
Ctap2DataException | The |
Remarks
This constructor expects the encoding to follow this template.
map {
"id" --text string--
"name" --text string-- (optional)
}