EnableEnterpriseAttestationCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllMake sure the enterprise attestation feature is enabled.
C#
public class EnableEnterpriseAttestationCommand : Object, IYubiKeyCommand<Fido2Response>
Inheritance
System.Object
EnableEnterpriseAttestationCommand
Implements
Remarks
The partner Response class is Fido2Response. This command does not return any data, it only returns "success" or "failure", and has some FIDO2-specific error information.
If the feature is already enabled, this command does nothing and returns success.
Constructors
Name | Description |
---|---|
EnableEnterpriseAttestationCommand(ReadOnlyMemory<Byte>, PinUvAuthProtocolBase) | Constructs a new instance of EnableEnterpriseAttestationCommand. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication (e.g. PIV, OATH, etc.) to which this command applies. |
Methods
Name | Description |
---|---|
CreateCommandApdu() | Creates a well-formed CommandApdu to send to the YubiKey. |
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |