Enum FinAuthenticateResult
Defines the possible return values for the methods Select(string) and Authenticate(string, string).
public enum FinAuthenticateResult
Fields
AuthenticateSecureNotSupported = -15The method AuthenticateSecure is not supported by the current smart card and/or smart card reader. The caller must revert to calling Authenticate(string, string).
BadPassphrase = -11Indicates that the presented passphrase was completely malformed and thus could not be verified at all.
BadSecurityMediaID = -1Indicates that a given SecurityMediaID is completely malformed and thus not understood by the given IFinSecurityMedia implementation.
Cancelled = -16The authentication was cancelled by the user.
InitPassphraseFailed = -12Indicates that the passphrase could not be initialised as desired.
MediaBlocked = -9Indicates that the security media has been blocked completely and can no longer be used.
MustChangePassphrase = -13The passphrase must be changed now. Usually this is because the given passphrase is just a transport passphrase that needs to be changed by the user.
NoPassphrase = -10This security media does not have a passphrase assigned, yet.
NoSecurityMedia = -2Indicates that the identified security media is not available.
For a file based security media this means that the file identified by the given SecurityMediaID does not exist. For a smart card based security this means that no smart card is inserted.
Success = 0Indicates a valid security media and/or successful authentication.
UserNameRequired = -14The security needs an UserName in addition to the passphrase and none was supplied or could be derived from the SecurityMediaID.
WrongPassphrase = -4Indicates that the presented passphrase was wrong and there are either more than three tries left, or the number of remaining tries is not known.
WrongPassphraseNoTriesLeft = -5Indicates that the presented passphrase was wrong and there are no more tries left.
WrongPassphraseOneTryLeft = -6Indicates that the presented passphrase was wrong and there is only a single try left.
WrongPassphraseThreeTriesLeft = -8Indicates that the presented passphrase was wrong and there are three tries left.
WrongPassphraseTwoTriesLeft = -7Indicates that the presented passphrase was wrong and there are two tries left.
WrongSecurityMedia = -3Indicates that the identified security media is not an appropriate security media for the given IFinSecurityMedia implementation.
For a file based security media this means that the file identified by the given SecurityMediaID appears not to be a key file at all.
For a smart card based security this means that the inserted smart card is not of the expected type or its serial number does not match the requested security media ID.