Enum FinAuthenticateResult
Defines the possible return values for the methods Select(String) and Authenticate(String, String).
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public enum FinAuthenticateResult
Fields
Name | Description |
---|---|
AuthenticateSecureNotSupported | 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 | Indicates that the presented passphrase was completely malformed and thus could not be verified at all. |
BadSecurityMediaID | Indicates that a given SecurityMediaID is completely malformed and thus not understood by the given IFinSecurityMedia implementation. |
Cancelled | The authentication was cancelled by the user. |
InitPassphraseFailed | Indicates that the passphrase could not be initialised as desired. |
MediaBlocked | Indicates that the security media has been blocked completely and can no longer be used. |
MustChangePassphrase | 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 | This security media does not have a passphrase assigned, yet. |
NoSecurityMedia | 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 | Indicates a valid security media and/or successful authentication. |
UserNameRequired | The security needs an UserName in addition to the passphrase and none was supplied or could be derived from the SecurityMediaID. |
WrongPassphrase | 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 | Indicates that the presented passphrase was wrong and there are no more tries left. |
WrongPassphraseOneTryLeft | Indicates that the presented passphrase was wrong and there is only a single try left. |
WrongPassphraseThreeTriesLeft | Indicates that the presented passphrase was wrong and there are three tries left. |
WrongPassphraseTwoTriesLeft | Indicates that the presented passphrase was wrong and there are two tries left. |
WrongSecurityMedia | 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. |