Type Method

credentialWithIdentity:certificates:persistence:

Creates and returns an NSURLCredential object for client certificate authentication with a given identity and a given array of client certificates using a given persistence setting.

Declaration

+ (NSURLCredential *)credentialWithIdentity:(SecIdentityRef)identity certificates:(NSArray *)certArray persistence:(NSURLCredentialPersistence)persistence;

Parameters

identity

The identity for the credential.

certArray

An array of one or more SecCertificateRef objects representing certificates for the credential.

persistence

The persistence setting for the credential.

See Also

Creating a credential

credentialForTrust:

Creates and returns an NSURLCredential object for server trust authentication with a given accepted trust.

credentialWithUser:password:persistence:

Creates and returns an NSURLCredential object for internet password authentication with a given user name and password using a given persistence setting.

initWithIdentity:certificates:persistence:

Returns an NSURLCredential object for client certificate authentication initialized with a given identity and a given array of client certificates using a given persistence setting.

initWithTrust:

Returns an NSURLCredential object for server trust authentication initialized with a given accepted trust.

initWithUser:password:persistence:

Returns an NSURLCredential object initialized with a given user name and password using a given persistence setting.