• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/

Lines Matching defs:Access

25 // Access.cpp
27 #include <security_keychain/Access.h>
40 // Access static constants
42 const CSSM_ACL_HANDLE Access::ownerHandle;
46 // Create a completely open Access (anyone can do anything)
50 Access::Access() : mMutex(Mutex::recursive)
62 // Create a default Access object.
63 // This construct an Access with "default form", whatever that happens to be
66 Access::Access(const string &descriptor, const ACL::ApplicationList &trusted) : mMutex(Mutex::recursive)
71 Access::Access(const string &descriptor) : mMutex(Mutex::recursive)
78 Access::Access(const string &descriptor, const ACL::ApplicationList &trusted,
84 void Access::makeStandard(const string &descriptor, const ACL::ApplicationList &trusted,
122 // Create an Access object whose initial value is taken
125 Access::Access(AclBearer &source) : mMutex(Mutex::recursive)
137 // Create an Access object from CSSM-layer access controls
139 Access::Access(const CSSM_ACL_OWNER_PROTOTYPE &owner,
146 Access::~Access()
161 CFArrayRef Access::copySecACLs() const
166 CFArrayRef Access::copySecACLs(CSSM_ACL_AUTHORIZATION_TAG action) const
181 void Access::setAccess(AclBearer &target, bool update /* = false */)
188 void Access::setAccess(AclBearer &target, Maker &maker)
201 void Access::editAccess(AclBearer &target, bool update, const AccessCredentials *cred)
222 void Access::addApplicationToRight(AclAuthorization right, TrustedApplication *app)
238 void Access::copyOwnerAndAcl(CSSM_ACL_OWNER_PROTOTYPE * &ownerResult,
267 // Retrieve the description from a randomly chosen ACL within this Access.
271 string Access::promptDescription() const
294 // newly made for this Access.
296 void Access::add(ACL *newAcl)
308 // newly made for this Access.
309 // Since an Access must have exactly one owner ACL, this call
310 // should only be made (exactly once) for a newly created Access.
312 void Access::addOwner(ACL *newAcl)
324 void Access::compile(const CSSM_ACL_OWNER_PROTOTYPE &owner,
344 const char Access::Maker::creationEntryTag[] = "___setup___";
346 Access::Maker::Maker(Allocator &alloc, MakerType makerType)
370 void Access::Maker::initialOwner(ResourceControlContext &ctx, const AccessCredentials *creds)
377 const AccessCredentials *Access::Maker::cred()