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.