VerifyFipsModeCommand Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllDetermines if the YubiKey is in a FIPS-approved operating mode.
C#
public sealed class VerifyFipsModeCommand : Object, IYubiKeyCommand<VerifyFipsModeResponse>
Inheritance
System.Object
VerifyFipsModeCommand
Implements
Remarks
For the YubiKey FIPS U2F sub-module to be in a FIPS approved mode of operation, an Admin PIN must be set. By default, no Admin PIN is set. Further, if the YubiKey FIPS U2F sub-module has been reset, it cannot be set into a FIPS approved mode of operation, even with the Admin PIN set.
Constructors
Name | Description |
---|---|
VerifyFipsModeCommand() | Constructs an instance of the VerifyFipsModeCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication to which this command belongs. |
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. |