• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Security-55471.14.18/sec/Security/

Lines Matching refs:message

113 bool SecXPCDictionarySetPList(xpc_object_t message, const char *key, CFTypeRef object, CFErrorRef *error)
130 xpc_dictionary_set_data(message, key, der_start, der_end - der_start);
135 bool SecXPCDictionarySetPListOptional(xpc_object_t message, const char *key, CFTypeRef object, CFErrorRef *error) {
136 return !object || SecXPCDictionarySetPList(message, key, object, error);
139 bool SecXPCDictionarySetData(xpc_object_t message, const char *key, CFDataRef data, CFErrorRef *error)
144 xpc_dictionary_set_data(message, key, CFDataGetBytePtr(data), CFDataGetLength(data));
148 bool SecXPCDictionarySetString(xpc_object_t message, const char *key, CFStringRef string, CFErrorRef *error)
156 xpc_dictionary_set_string(message, key, utf8Str);
163 bool SecXPCDictionarySetDataOptional(xpc_object_t message, const char *key, CFDataRef data, CFErrorRef *error) {
164 return !data || SecXPCDictionarySetData(message, key, data, error);
167 CFArrayRef SecXPCDictionaryCopyArray(xpc_object_t message, const char *key, CFErrorRef *error) {
168 CFTypeRef array = SecXPCDictionaryCopyPList(message, key, error);
181 bool SecXPCDictionaryCopyArrayOptional(xpc_object_t message, const char *key, CFArrayRef *parray, CFErrorRef *error) {
182 if (!xpc_dictionary_get_value(message, key)) {
186 *parray = SecXPCDictionaryCopyArray(message, key, error);
190 CFDataRef SecXPCDictionaryCopyData(xpc_object_t message, const char *key, CFErrorRef *error) {
193 const uint8_t *bytes = xpc_dictionary_get_data(message, key, &size);
206 bool SecXPCDictionaryCopyDataOptional(xpc_object_t message, const char *key, CFDataRef *pdata, CFErrorRef *error) {
208 if (!xpc_dictionary_get_data(message, key, &size)) {
212 *pdata = SecXPCDictionaryCopyData(message, key, error);
216 CFDictionaryRef SecXPCDictionaryCopyDictionary(xpc_object_t message, const char *key, CFErrorRef *error) {
217 CFTypeRef dict = SecXPCDictionaryCopyPList(message, key, error);
230 bool SecXPCDictionaryCopyDictionaryOptional(xpc_object_t message, const char *key, CFDictionaryRef *pdictionary, CFErrorRef *error) {
231 if (!xpc_dictionary_get_value(message, key)) {
235 *pdictionary = SecXPCDictionaryCopyDictionary(message, key, error);
239 CFTypeRef SecXPCDictionaryCopyPList(xpc_object_t message, const char *key, CFErrorRef *error)
243 const uint8_t *der = xpc_dictionary_get_data(message, key, &size);
259 bool SecXPCDictionaryCopyPListOptional(xpc_object_t message, const char *key, CFTypeRef *pobject, CFErrorRef *error) {
261 if (!xpc_dictionary_get_data(message, key, &size)) {
265 *pobject = SecXPCDictionaryCopyPList(message, key, error);
269 CFStringRef SecXPCDictionaryCopyString(xpc_object_t message, const char *key, CFErrorRef *error) {
270 const char *string = xpc_dictionary_get_string(message, key);