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)
  3. this(string mac_name, size_t len)
  4. this(string mac_name, SymmetricKey key, size_t len)
    class MACFilter
    public
    this
    (
    in string mac_name
    ,
    in SymmetricKey key
    ,
    size_t len = 0
    )

Parameters

mac_name string

the name of the MAC to use

key SymmetricKey

the MAC key to use

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