GetCredProtectExtension Method
GetCredProtectExtension()
Get the value of the "credProtect" extension. This returns the decoded value.
C#
public CredProtectPolicy GetCredProtectExtension()
Returns
The CredProtectPolicy enum describing the value of the "credProtect" extension.
Exceptions
Type | Condition |
---|---|
Ctap2DataException | If the value of the extension is not a valid CredProtect policy. |
Remarks
Because this extension is used more often, a dedicated method is provided as a convenience. There is no need for the caller to CBOR-decode the value for the key "credProtect".