deleteCertificateFromStore( successCB, [errorCB], certificateKey ) method

Delete cached certificate from keychain.

iOS client will always try the cached certificate first if it is available before requesting the certificate from afaria server or loading the certificate from file system. In case the cached certificate is no longer valid, use this method to delete it from keychain Only supported by iOS platform

Syntax

<static> deleteCertificateFromStore( successCB, [errorCB], certificateKey )

Parameters

Name Type Argument Description
successCB anonymous.sendRequestSuccessCB   Callback method upon success.
errorCB anonymous.sendRequestErrorCB (optional) Callback method upon failure.
certificateKey string   The key of the certificate to be deleted.

Source

Plugins/HttpsProxy/https-proxy.js, line 409.