Developer

getStoredCertificate Method

The synchronous method to return the cached certificate from the certificate store. The certificate provider can cache the certificate in the local certificate store when the getCertificate method successfully retrieves the certificate from the remote server or file system. .

Syntax

- (BOOL) getStoredCertificate:(SecIdentityRef*)secIdentityRef error:(NSError**)anError

Parameters

  • secIdentityRef Returning the previously cached identity object. If no cached identity is available, the method returns null.
  • anError If an error occurs, the method returns contains an NSError object that describes the problem.

Returns

True or false.