Avaya Client Services API Reference (OS X)
|
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... | |
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.
- (void) certificateManager: | (CSCertificateManager *) | certManager | |
clientIdentityWillExpireInDays: | (NSInteger) | daysToExpire | |
|
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.
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. |