Function rabe::schemes::aw11::authgen[][src]

pub fn authgen(
    _gk: &Aw11GlobalKey,
    _attributes: &Vec<String>
) -> Option<(Aw11PublicKey, Aw11MasterKey)>

Sets up a new AW11 Authority by creating a key pair: Public Parameters Key (PK) and Master Key (MK)

Arguments

  • _gk - A Global Parameters Key (GK), generated by the function setup()
  • _attributes - A Vector of String attributes assigned to this Authority

Remarks

In this scheme, all attributes are converted to upper case bevor calculation, i.e. they are case insensitive This means that all attributes "tEsT", "TEST" and "test" are the same in this scheme.