Skip to main content

encode_authentication_policy

Function encode_authentication_policy 

Source
pub fn encode_authentication_policy(
    buf: &mut BytesMut,
    value: &BACnetAuthenticationPolicy,
)
Expand description

Encode one BACnetAuthenticationPolicy SEQUENCE: the entries inside opening and closing tag 0, each its Credential Data Input reference inside opening and closing tag 0 followed by its index as context [1]; then the order flag as context [1] and the timeout as context [2].