5bb3852c9629b30498bcbbec8d6e71066648d2e6
[WebKit-https.git] / WebKit / WebCoreSupport.subproj / WebNewKeyGeneration.h
1 /*
2  *  WebNewKeyGeneration.h
3  *  WebKit
4  *
5  *  Created by Chris Blumenberg on Mon Aug 23 2004.
6  *  Copyright (c) 2003 Apple Computer. All rights reserved.
7  *
8  */
9
10 #ifndef WEB_KEY_GENERATION_H
11 #define WEB_KEY_GENERATION_H
12
13 #import <WebKit/WebKeyGenerator.h>
14
15 #ifdef USE_NEW_KEY_GENERATION
16
17 #import <CoreFoundation/CoreFoundation.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22     CFStringRef signedPublicKeyAndChallengeString(unsigned keySize, CFStringRef challenge, CFStringRef keyDescription);
23     WebCertificateParseResult addCertificatesToKeychainFromData(const void *bytes, unsigned length);
24     
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif /* USE_NEW_KEY_GENERATION */
30
31 #endif /* WEB_KEY_GENERATION_H */