It is asking me to add the following code to Ondeviceready
var success = function(message) {
alert(message);
}
var failure = function(error) {
alert("Error:" + error);
}
clientCertificate.register("cert.p12", "password", success, failure);
where in the www folder to I put this?