Function rabe::schemes::bdabe::request_attribute_sk [−][src]
pub fn request_attribute_sk(
_pku: &BdabePublicUserKey,
_ska: &BdabeSecretAuthorityKey,
_attribute: &String
) -> Option<BdabeSecretAttributeKey>
Generates a new BdabeSecretAttributeKey for a requested attribute, if it is handled by the authority _ska and user _pk_u is eligible to recieve it.
Arguments
_pku
- A BdabePublicUserKey (PK), generated by keygen()_ska
- A BdabeSecretAuthorityKey (SKauth), associated with an authority and generated by authgen()_attribute
- The attribute value as String