2 WebKitSystemInterface.h
3 Copyright (C) 2005 Apple Computer, Inc. All rights reserved.
8 #import <Cocoa/Cocoa.h>
11 WKCertificateParseResultSucceeded = 0,
12 WKCertificateParseResultFailed = 1,
13 WKCertificateParseResultPKCS7 = 2,
14 } WKCertificateParseResult;
16 CFStringRef WKCopyCFLocalizationPreferredName(CFStringRef localization);
17 CFStringRef WKSignedPublicKeyAndChallengeString(unsigned keySize, CFStringRef challenge, CFStringRef keyDescription);
18 WKCertificateParseResult WKAddCertificatesToKeychainFromData(const void *bytes, unsigned length);
20 NSString *WKGetPreferredExtensionForMIMEType(NSString *type);
21 NSArray *WKGetExtensionsForMIMEType(NSString *type);
22 NSString *WKGetMIMETypeForExtension(NSString *extension);
24 NSDate *WKGetNSURLResponseLastModifiedDate(NSURLResponse *response);
25 NSTimeInterval WKGetNSURLResponseFreshnessLifetime(NSURLResponse *response);
26 NSTimeInterval WKGetNSURLResponseCalculatedExpiration(NSURLResponse *response);
27 BOOL WKGetNSURLResponseMustRevalidate(NSURLResponse *response);
29 CFStringEncoding WKGetWebDefaultCFStringEncoding();
31 float WKSecondsSinceLastInputEvent();