pub struct TanMethod {
pub security_function: SecurityFunction,
pub tan_process: TanProcess,
pub name: String,
pub needs_tan_medium: bool,
pub decoupled_max_polls: i32,
pub wait_before_first_poll: i32,
pub wait_before_next_poll: i32,
pub is_decoupled: bool,
pub hktan_version: u16,
pub zka_name: Option<String>,
pub decoupled_auto_polling: Option<bool>,
pub challenge_structured: bool,
}tooling only.Expand description
One TAN method the bank offers (an entry of HITANS).
Fields§
§security_function: SecurityFunctionSecurity function code (e.g. “912” for pushTAN)
tan_process: TanProcessTAN process type.
name: StringHuman-readable name (e.g. “pushTAN-2.0”)
needs_tan_medium: boolWhether TAN medium name must be sent
decoupled_max_polls: i32Decoupled methods: how many status requests (HKTAN process S) the
bank accepts. HITANS uses 0 for no limit; -1 here means the bank
did not say.
wait_before_first_poll: i32Decoupled methods: seconds before the first status request; 0
when the bank did not say.
wait_before_next_poll: i32Decoupled methods: seconds between status requests; 0 when the
bank did not say.
is_decoupled: boolWhether this is a decoupled method
hktan_version: u16The HKTAN version to use: that of the HITANS segment listing the method.
zka_name: Option<String>The method’s DK identifier (“DK-TAN-Verfahren”, earlier “ZKA”),
such as HHD or Decoupled.
decoupled_auto_polling: Option<bool>HITANS 7 “Automatischer Statusabruf erlaubt”. Some(false): the
user confirms in the client before it asks for the status.
challenge_structured: boolHITANS “Challenge strukturiert”: the HITAN challenge text of this method may carry markup.