public void SetUp() { AccessTree = new AccessTree { RootNode = new OrGate { ChildNodes = new List <INode> { new AndGate { ChildNodes = new List <INode> { new Attribute { Value = "Computer Science" }, new Attribute { Value = "Admission-committee" } } }, new Attribute { Value = "Dean" }, new SubsetGate { ChildNodes = new List <INode> { new Attribute { Value = "Computer Science" }, new Attribute { Value = "Admission-committee" }, new Attribute { Value = "Faculty" } } } } } }; }
public KeyPolicySecretKey Keygen(AccessTree accessTree) { return(new KeyPolicySecretKey()); }
public CiphertextPolicyEncryptedFile Encrypt(PublicParameters publicParameters, File file, AccessTree accessTree) { return(new CiphertextPolicyEncryptedFile()); }