Advertisements
NSURLProtectionSpace by example
Creating a Protection Space
- initWithHost:port:protocol:realm:authenticationMethod:
Initializes a protection space object.
Example
// Implementation in progress
Output
// Implementation in progress
- initWithProxyHost:port:type:realm:authenticationMethod:
Initializes a protection space object representing a proxy server.
Example
// Implementation in progress
Output
// Implementation in progress
Getting Protection Space Properties
- authenticationMethod
Returns the authentication method used by the receiver.
Example
// Implementation in progress
Output
// Implementation in progress
- distinguishedNames
Returns an array of acceptable certificate-issuing authorities for client certificate authentication.
Example
// Implementation in progress
Output
// Implementation in progress
- host
Returns the receivers host.
Example
// Implementation in progress
Output
// Implementation in progress
- isProxy
Returns whether the receiver represents a proxy server.
Example
// Implementation in progress
Output
// Implementation in progress
- port
Returns the receivers port.
Example
// Implementation in progress
Output
// Implementation in progress
- protocol
Returns the receivers protocol.
Example
// Implementation in progress
Output
// Implementation in progress
- proxyType
Returns the receiver's proxy type.
Example
// Implementation in progress
Output
// Implementation in progress
- realm
Returns the receivers authentication realm.
Example
// Implementation in progress
Output
// Implementation in progress
- receivesCredentialSecurely
Returns whether the credentials for the protection space can be sent securely.
Example
// Implementation in progress
Output
// Implementation in progress
- serverTrust
Returns a representation of the servers SSL transaction state.
Example
// Implementation in progress
Output
// Implementation in progress
Advertisements