Enum FinAuthenticateResult

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Defines the possible return values for the methods Select(string) and Authenticate(string, string).

public enum FinAuthenticateResult

Fields

AuthenticateSecureNotSupported = -15

The 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 = -11

Indicates that the presented passphrase was completely malformed and thus could not be verified at all.

BadSecurityMediaID = -1

Indicates that a given SecurityMediaID is completely malformed and thus not understood by the given IFinSecurityMedia implementation.

Cancelled = -16

The authentication was cancelled by the user.

InitPassphraseFailed = -12

Indicates that the passphrase could not be initialised as desired.

MediaBlocked = -9

Indicates that the security media has been blocked completely and can no longer be used.

MustChangePassphrase = -13

The 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 = -10

This security media does not have a passphrase assigned, yet.

NoSecurityMedia = -2

Indicates 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 = 0

Indicates a valid security media and/or successful authentication.

UserNameRequired = -14

The security needs an UserName in addition to the passphrase and none was supplied or could be derived from the SecurityMediaID.

WrongPassphrase = -4

Indicates 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 = -5

Indicates that the presented passphrase was wrong and there are no more tries left.

WrongPassphraseOneTryLeft = -6

Indicates that the presented passphrase was wrong and there is only a single try left.

WrongPassphraseThreeTriesLeft = -8

Indicates that the presented passphrase was wrong and there are three tries left.

WrongPassphraseTwoTriesLeft = -7

Indicates that the presented passphrase was wrong and there are two tries left.

WrongSecurityMedia = -3

Indicates 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.