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

pub fn authgen(
    _pk: &BdabePublicKey,
    _mk: &BdabeMasterKey,
    _name: &String
) -> BdabeSecretAuthorityKey

Sets up and generates a new Authority by creating a secret authority key (SKauth). The key is created for an authority with a given "name".

Arguments

  • _pk - A BdabePublicKey (PK), generated by setup()
  • _mk - A BdabeMasterKey (MK), generated by setup()
  • _name - The name of the authority the key is associated with. Must be unique.