pub struct BACnetAuthenticationPolicy {
pub policy: Vec<BACnetAuthenticationPolicyEntry>,
pub order_enforced: bool,
pub timeout: u32,
}Expand description
One element of an Access Point’s Authentication_Policy_List array
(BACnetAuthenticationPolicy, Clause 21; Clause 12.31.12).
On the wire the entries go out inside opening and closing tag [0], each
as its two members with no wrapper, then the order flag as a context
[1] BOOLEAN and the timeout as a context [2] Unsigned. The codec is
bacnet_encoding::constructed::{encode_authentication_policy, decode_authentication_policy}; it keeps whatever entries it reads, and
the Access Point judges whether the policy is usable.
The default is the element Clause 12.31.12.2 gives an array that grows without a value for its new elements: no entries, the order not enforced and no timeout.
Fields§
§policy: Vec<BACnetAuthenticationPolicyEntry>The factors the policy asks for.
order_enforced: boolWhether the factors have to come in the order their indexes give.
timeout: u32The seconds allowed for presenting every factor; 0 for no limit.