]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_manifest/lib/SecureDownloadInternal.h
Security-59754.41.1.tar.gz
[apple/security.git] / OSX / libsecurity_manifest / lib / SecureDownloadInternal.h
1 #ifndef _SECURE_DOWNLOAD_INTERNAL_
2 #define _SECURE_DOWNLOAD_INTERNAL_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define SD_XML_NAME CFSTR("name")
9 #define SD_XML_SIZE CFSTR("size")
10 #define SD_XML_CREATED CFSTR("created")
11 #define SD_XML_URL CFSTR("url")
12 #define SD_XML_VERIFICATIONS CFSTR("verifications")
13 #define SD_XML_DIGEST CFSTR("digest")
14 #define SD_XML_SECTOR_SIZE CFSTR("sector_size")
15 #define SD_XML_DIGESTS CFSTR("digests")
16
17 CF_RETURNS_RETAINED CFPropertyListRef _SecureDownloadParseTicketXML(CFDataRef xmlData);
18 CFDataRef _SecureDownloadCreateTicketXML(CFPropertyListRef plist);
19
20 #ifdef __cplusplus
21 };
22 #endif
23
24 #endif