<rdar://problem/4876242> Added SPI to fetch SSL certificate information.
[WebKit-https.git] / WebKitLibraries / win / include / WebKitSystemInterface / WebKitSystemInterface.h
index 078db6d384544b3e0062c8f0d7a4858e6f47d125..2dea961d869c0678c3f83d7f64e7fc3f586c9a97 100644 (file)
@@ -35,8 +35,10 @@ typedef unsigned short CGFontIndex;
 typedef struct CGFont* CGFontRef;
 typedef CGFontIndex CGGlyph;
 typedef wchar_t UChar;
+typedef struct _CFURLResponse* CFURLResponseRef;
 
 void wkSetFontSmoothingLevel(int type);
+int wkGetFontSmoothingLevel();
 uint32_t wkSetFontSmoothingStyle(CGContextRef cg);
 void wkRestoreFontSmoothingStyle(CGContextRef cg, uint32_t oldStyle);
 void wkGetGlyphAdvances(CGFontRef, const CGAffineTransform&, bool isSystemFont, bool isPrinterFont, CGGlyph, CGSize& advance);
@@ -45,4 +47,7 @@ void wkSetUpFontCache(size_t s);
 
 void wkDrawFocusRing(CGContextRef, CGColorRef, float radius);
 
+CFDictionaryRef wkGetSSLCertificateInfo(CFURLResponseRef);
+void* wkGetSSLPeerCertificateData(CFDictionaryRef);
+
 #endif