Class CredentialRetryPair
- Namespace
- Yubico.YubiKey.YubiHsmAuth
- Assembly
- Yubico.YubiKey.dll
This class represents a Credential stored in the YubiKey's YubiHSM Auth application, and the number of retries remaining.
public class CredentialRetryPair
- Inheritance
-
objectCredentialRetryPair
Remarks
This class is used in ListCredentialsResponse.
Constructors
CredentialRetryPair(Credential, int)
Constructs an instance of the CredentialRetryPair class.
public CredentialRetryPair(Credential credential, int retries)
Parameters
credentialCredentialThe Credential stored in the YubiHSM Auth application. retriesintThe number of retries remaining to access the Credential. Must be a non-negative value.
Exceptions
- ArgumentOutOfRangeException
Thrown when
retriesis negative.
Properties
Credential
The Credential stored in the YubiHSM Auth application.
public Credential Credential { get; }
Property Value
Retries
The number of retries remaining to access the Credential.
public int Retries { get; }
Property Value
- int