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 receiver’s 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 receiver’s port.

Example

			// Implementation in progress
		

Output

			// Implementation in progress
		

- protocol

Returns the receiver’s 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 receiver’s 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 server’s SSL transaction state.

Example

			// Implementation in progress
		

Output

			// Implementation in progress
		

Advertisements