blob: 91cd2aab33edcfc6d11543cbaa5375375b2d8f75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
{ Parsed from Foundation.framework NSURLProtectionSpace.h }
{$ifdef TYPES}
{$ifndef NSURLPROTECTIONSPACE_PAS_T}
{$define NSURLPROTECTIONSPACE_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSURLPROTECTIONSPACE_PAS_R}
{$define NSURLPROTECTIONSPACE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSURLPROTECTIONSPACE_PAS_F}
{$define NSURLPROTECTIONSPACE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSURLPROTECTIONSPACE_PAS_S}
{$define NSURLPROTECTIONSPACE_PAS_S}
{ External string constants }
var
NSURLProtectionSpaceHTTP: NSString; cvar; external;
NSURLProtectionSpaceHTTPS: NSString; cvar; external;
NSURLProtectionSpaceFTP: NSString; cvar; external;
NSURLProtectionSpaceHTTPProxy: NSString; cvar; external;
NSURLProtectionSpaceHTTPSProxy: NSString; cvar; external;
NSURLProtectionSpaceFTPProxy: NSString; cvar; external;
NSURLProtectionSpaceSOCKSProxy: NSString; cvar; external;
NSURLAuthenticationMethodDefault: NSString; cvar; external;
NSURLAuthenticationMethodHTTPBasic: NSString; cvar; external;
NSURLAuthenticationMethodHTTPDigest: NSString; cvar; external;
NSURLAuthenticationMethodHTMLForm: NSString; cvar; external;
NSURLAuthenticationMethodNTLM: NSString; cvar; external;
NSURLAuthenticationMethodNegotiate: NSString; cvar; external;
NSURLAuthenticationMethodClientCertificate: NSString; cvar; external;
NSURLAuthenticationMethodServerTrust: NSString; cvar; external;
{$endif}
{$endif}
{$ifdef FORWARD}
NSURLProtectionSpace = objcclass;
NSURLProtectionSpacePointer = ^NSURLProtectionSpace;
NSURLProtectionSpacePtr = NSURLProtectionSpacePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSURLPROTECTIONSPACE_PAS_C}
{$define NSURLPROTECTIONSPACE_PAS_C}
{ NSURLProtectionSpace }
NSURLProtectionSpace = objcclass external (NSObject, NSCopyingProtocol)
private
_internal: NSURLProtectionSpaceInternal;
public
function initWithHost_port_protocol_realm_authenticationMethod(host_: NSString; port_: NSInteger; protocol_: NSString; realm_: NSString; authenticationMethod_: NSString): id; message 'initWithHost:port:protocol:realm:authenticationMethod:';
function initWithProxyHost_port_type_realm_authenticationMethod(host_: NSString; port_: NSInteger; type_: NSString; realm_: NSString; authenticationMethod_: NSString): id; message 'initWithProxyHost:port:type:realm:authenticationMethod:';
function realm: NSString; message 'realm';
function receivesCredentialSecurely: Boolean; message 'receivesCredentialSecurely';
function isProxy: Boolean; message 'isProxy';
function host: NSString; message 'host';
function port: NSInteger; message 'port';
function proxyType: NSString; message 'proxyType';
function protocol: NSString; message 'protocol';
function authenticationMethod: NSString; message 'authenticationMethod';
{ Adopted Protocols }
function copyWithZone(zone_: NSZonePtr): id;
end;
{ NSClientCertificateSpaceCategory }
NSClientCertificateSpaceCategory = objccategory external (NSURLProtectionSpace)
function distinguishedNames: NSArray; message 'distinguishedNames';
end;
{ NSServerTrustValidationSpaceCategory }
NSServerTrustValidationSpaceCategory = objccategory external (NSURLProtectionSpace)
function serverTrust: SecTrustRef; message 'serverTrust';
end;
{$endif}
{$endif}
|