Searched refs:entitlements (Results 1 - 25 of 30) sorted by relevance

12

/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/
H A DSecTask.c50 /* Track whether we've loaded entitlements independently since after the
51 * load, entitlements may legitimately be NULL */
53 CFDictionaryRef entitlements; member in struct:__SecTask
67 if (task->entitlements != NULL) {
68 CFRelease(task->entitlements);
69 task->entitlements = NULL;
126 task->entitlements = NULL;
211 /* no entitlements */
234 task->entitlements = CFPropertyListCreateWithData(NULL, data, 0, NULL, error);
247 /* Load entitlements i
265 SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error) argument
[all...]
H A DSecTask.h87 @abstract Returns the values of multiple entitlements for the represented
90 @param entitlements An array of entitlement names to be fetched
97 CFDictionaryRef SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error);
H A Drequirement.h103 : certs(NULL), info(NULL), entitlements(NULL), identifier(""), directory(NULL) { }
108 : certs(certChain), info(infoDict), entitlements(entitlementDict), identifier(ident), directory(dir) { }
112 CFDictionaryRef entitlements; // entitlement plist member in class:Security::CodeSigning::Requirement::Context
H A Dsigblob.cpp59 CFDictionaryRef EntitlementBlob::entitlements() const function in class:Security::CodeSigning::EntitlementBlob
H A Dsigblob.h74 CFDictionaryRef entitlements() const;
H A Dsigner.h88 CFRef<CFDataRef> entitlements; // entitlements member in class:Security::CodeSigning::SecCodeSigner::Signer
H A Dsigner.cpp152 entitlements = state.mEntitlementData;
153 if (!entitlements && (inherit & kSecCodeSignerPreserveEntitlements))
154 entitlements = code->component(cdEntitlementSlot);
520 if (entitlements) {
521 writer.component(cdEntitlementSlot, entitlements);
522 builder.specialSlot(cdEntitlementSlot, entitlements);
H A Dreqinterp.cpp202 if (mContext->entitlements) // we have an Info.plist
203 if (CFTypeRef value = CFDictionaryGetValue(mContext->entitlements, CFTempString(key)))
H A DStaticCode.h128 CFDictionaryRef entitlements();
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/
H A DSecTask.c50 /* Track whether we've loaded entitlements independently since after the
51 * load, entitlements may legitimately be NULL */
53 CFDictionaryRef entitlements; member in struct:__SecTask
67 if (task->entitlements != NULL) {
68 CFRelease(task->entitlements);
69 task->entitlements = NULL;
126 task->entitlements = NULL;
211 /* no entitlements */
234 task->entitlements = CFPropertyListCreateWithData(NULL, data, 0, NULL, error);
247 /* Load entitlements i
265 SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error) argument
[all...]
H A DSecTask.h87 @abstract Returns the values of multiple entitlements for the represented
90 @param entitlements An array of entitlement names to be fetched
97 CFDictionaryRef SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error);
H A Drequirement.h103 : certs(NULL), info(NULL), entitlements(NULL), identifier(""), directory(NULL) { }
108 : certs(certChain), info(infoDict), entitlements(entitlementDict), identifier(ident), directory(dir) { }
112 CFDictionaryRef entitlements; // entitlement plist member in class:Security::CodeSigning::Requirement::Context
H A Dsigblob.cpp59 CFDictionaryRef EntitlementBlob::entitlements() const function in class:Security::CodeSigning::EntitlementBlob
H A Dsigblob.h74 CFDictionaryRef entitlements() const;
H A Dsigner.h88 CFRef<CFDataRef> entitlements; // entitlements member in class:Security::CodeSigning::SecCodeSigner::Signer
H A Dsigner.cpp152 entitlements = state.mEntitlementData;
153 if (!entitlements && (inherit & kSecCodeSignerPreserveEntitlements))
154 entitlements = code->component(cdEntitlementSlot);
520 if (entitlements) {
521 writer.component(cdEntitlementSlot, entitlements);
522 builder.specialSlot(cdEntitlementSlot, entitlements);
H A Dreqinterp.cpp202 if (mContext->entitlements) // we have an Info.plist
203 if (CFTypeRef value = CFDictionaryGetValue(mContext->entitlements, CFTempString(key)))
/macosx-10.9.5/security_systemkeychain-55191.2/src/
H A Dcodesign.h61 extern const char *entitlements; // path to entitlement configuration input
H A Dcs_sign.cpp124 if (entitlements) {
125 if (CFRef<CFDataRef> data = cfLoadFile(entitlements)) { // load the proposed entitlement blob
134 note(0, "%s: unrecognized blob type (accepting blindly)", entitlements);
136 fail("%s: invalid length in entitlement blob", entitlements);
140 fail("%s: cannot read entitlement data", entitlements);
H A Dcs_dump.cpp261 if (entitlements) {
264 if (entitlements[0] == ':') {
269 entitlements++;
271 writeData(data, entitlements, "a");
H A Dcodesign.cpp61 const char *entitlements = NULL; // path to entitlement configuration input variable
184 { "entitlements", required_argument, NULL, optEntitlements },
314 entitlements = optarg;
576 { "entitlements", kSecCodeSignerPreserveEntitlements, true },
/macosx-10.9.5/eap8021x-180/EAP8021X.fproj/
H A DMakefile41 xcrun -sdk $(SDK) codesign -s - -f --entitlements ../eapolclient.tproj/entitlements.plist $@
83 xcrun -sdk $(SDK) codesign -s - -f --entitlements ../eapolclient.tproj/entitlements.plist $@
87 xcrun -sdk $(SDK) codesign -s - -f --entitlements ../eapolclient.tproj/entitlements.plist $@
98 xcrun -sdk $(SDK) codesign -s - -f --entitlements ../eapolclient.tproj/entitlements.plist $@
/macosx-10.9.5/Security-55471.14.18/sec/Security/Tool/
H A Dcodesign.c169 fprintf(stderr, "no entitlements slot yet\n");
359 CFDataRef entitlements = CFDictionaryGetValue(signature, CFSTR("Entitlements")); local
404 if (entitlements)
405 fprintf(stderr, "Entitlements\n%.*s", (int)CFDataGetLength(entitlements)-8, CFDataGetBytePtr(entitlements)+8);
/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/
H A Ddbserver.c1150 xpc_object_t edata, entitlements, val; local
1162 entitlements = xpc_create_from_plist(ptr, len);
1164 if (entitlements == NULL) return;
1166 if (xpc_get_type(entitlements) != XPC_TYPE_DICTIONARY)
1172 bval = xpc_dictionary_get_bool(entitlements, ASL_ENTITLEMENT_KEY);
1176 xpc_release(entitlements);
1180 val = xpc_dictionary_get_value(entitlements, ASL_ENTITLEMENT_UID_KEY);
1190 val = xpc_dictionary_get_value(entitlements, ASL_ENTITLEMENT_GID_KEY);
1200 xpc_release(entitlements);
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dubc_subr.c561 * Routines to navigate entitlements in the kernel.
564 /* Retrieve the entitlements blob for a process.
571 * entitlements blob if found; or will be set to NULL/zero
572 * if there were no entitlements.
581 const CS_GenericBlob *entitlements; local
599 entitlements = cs_find_blob(csblob, CSSLOT_ENTITLEMENTS, CSMAGIC_EMBEDDED_ENTITLEMENTS);
603 if (entitlements)
606 } else if (entitlements == NULL && memcmp(embedded_hash, sha1_zero, SHA1_RESULTLEN) != 0) {
611 SHA1Update(&context, entitlements, ntohl(entitlements
[all...]

Completed in 607 milliseconds

12