Lines Matching refs:newEntry
223 AclEntry newEntry;
224 newEntry.importBlob(pubReader, privReader);
225 add(newEntry.tag, newEntry);
316 const AclEntryInput &input = Required(edit.newEntry());
323 AclEntryPrototype proto = Required(edit.newEntry()).proto(); // (bypassing callbacks)
409 void ObjectAcl::add(const std::string &tag, const AclEntry &newEntry)
411 add(tag, newEntry, mNextHandle++);
414 void ObjectAcl::add(const std::string &tag, AclEntry newEntry, CSSM_ACL_HANDLE handle)
417 if (!newEntry.authorizesAnything) {
418 for (AclAuthorizationSet::const_iterator it = newEntry.authorizations.begin();
419 it != newEntry.authorizations.end(); it++)
423 if (newEntry.subject->type() != CSSM_ACL_SUBJECT_TYPE_PREAUTH_SOURCE)
424 newEntry.subject =
425 new PreAuthorizationAcls::SourceAclSubject(newEntry.subject);
429 mEntries.insert(make_pair(tag, newEntry))->second.handle = handle;