Avaya Client Services API Reference (OS X)

- Main Page
- Classes
- Files
- Related Pages

- Class List
- Class Index
- Class Hierarchy
- Class Members

Instance Methods | List of all members
<CSCertificateManagerClientIdentityDelegate> Protocol Reference

CSCertificateManagerClientIdentityDelegate is registered as a listener to get notified about the client identity certificate's expiration status. More...

`#import <CSCertificateManager.h>`

Inherits <NSObject>.

## Instance Methods
(void) | - certificateManager:clientIdentityWillExpireInDays:
(void) | - certificateManager:didRequestAccessToPrivateKeychainWithCompletionHandler:
| Called every time Client SDK needs to access keychain. More...

## Detailed Description

CSCertificateManagerClientIdentityDelegate is registered as a listener to get notified about the client identity certificate's expiration status.

The client application gets notified about the client certificate's expiration status by specifying number of days before expiry calculated as per the configured security policy.

See also
  CSSecurityPolicyConfiguration::certificateRenewalValue

## Method Documentation

- (void) certificateManager: |  | (CSCertificateManager *) | certManager
clientIdentityWillExpireInDays: |  | (NSInteger) | daysToExpire

- (void) certificateManager: |  | (CSCertificateManager *) | certificateManager
didRequestAccessToPrivateKeychainWithCompletionHandler: |  | (void(^)(SecKeychainRef secKeychain, NSError *error)) | completionHandler
| optional

Called every time Client SDK needs to access keychain.

Set CSSecurityPolicyConfiguration::usePrivateKeychainForIdentityCertificate to true if app wants to use the private keychain. If the private keychain is not provided CSCertificateManager::enrollWithConfiguration:enrollmentCredentialProvider:completionHandler: will fail.

The client provides either the reference to the unlocked keychain or error in case if the application decides to not use the private keychain or it fails to create one. The keychain provided will be used to store the security items to avoid using the default keychain shared between all apps.

Parameters

  certificateManager | The certificate manager instance sending the message.
  completionHandler | The callback to invoke with the reference to unlocked keychain and error in case of failure. `secKeychain` A reference to an unlocked private keychain. nil in case of an error. `error` Is an object describing failure reason. nil if operation succeeded.

The documentation for this protocol was generated from the following file:

- CSCertificateManager.h