policytree.
PolicyParser
Bases: object
object
evalStack
findDuplicates
getBNF
labelDuplicates
parse
prune
given policy tree and attributes, determine whether the attributes satisfy the policy. if not enough attributes to satisfy policy, return None otherwise, a pruned list of attributes to potentially recover the associated secret.
requiredAttributes
determines the required attributes to satisfy policy tree and returns a list of BinNode objects.
createAttribute
createTree
parseNumConditional
printStuff
pushFirst
PKSig
PREnc