Constructor
new CertificateController()
This class cannot be instantiated.
- Since:
- 11.7.0
Methods
(static) acceptInvalidCertificate(certificate, errorHandleropt)
Accepts invalid certificate. Invalid certificate can be obtained through "onInvalidCertificate" event.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
certificate |
InvalidCertificate | Invalid certificate to be accepted. | |
errorHandler |
function |
<optional> |
Called if error has occurred in add-on. |
- Since:
- 11.7.0
(static) addEventHandler(eventName, handler)
Add handler function for Certificate Controller's event.
Parameters:
Name | Type | Description |
---|---|---|
eventName |
String | Name of the event. |
handler |
function | Function that will be called when event is fired. |
- Since:
- 11.7.0
(static) rejectInvalidCertificate(certificate, errorHandleropt)
Rejects invalid certificate. Invalid certificate can be obtained through "onInvalidCertificate" event.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
certificate |
InvalidCertificate | Invalid certificate to be accepted. | |
errorHandler |
function |
<optional> |
Called if error has occurred in add-on. |
- Since:
- 11.7.0
(static) removeEventHandler(eventName)
Remove handler function for Certificate Controller's event.
Parameters:
Name | Type | Description |
---|---|---|
eventName |
String | Name of the event. |
- Since:
- 11.7.0
Events
onInvalidCertificate
Fired if CUCM's invalid certificate is detected.
Parameters:
Type | Description |
---|---|
InvalidCertificate | Invalid certificate |
- Since:
- 11.7.0