MACFilter.this

Construct a MAC filter.

  1. this(MessageAuthenticationCode mac_obj, size_t out_len)
  2. this(MessageAuthenticationCode mac_obj, SymmetricKey key, size_t out_len)
    class MACFilter
    this
    (,
    in SymmetricKey key
    ,
    size_t out_len = 0
    )
  3. this(string mac_name, size_t len)
  4. this(string mac_name, SymmetricKey key, size_t len)

Parameters

mac_obj MessageAuthenticationCode

the MAC to use

key SymmetricKey

the MAC key to use

out_len size_t

the output length of this filter. Leave the default value 0 if you want to use the full output of the MAC. Otherwise, specify a smaller value here so that the output of the MAC will be cut off.

Meta