Check-in [188c4d598f]
Overview
Comment:ChromeOS: Added support for informing the user if we are a certificate provider or not
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 188c4d598f249848e81e06b7dd69b14ff5c65195
User & Date: rkeene on 2016-03-08 21:02:46
Other Links: manifest | tags
Context
2016-03-09
04:30
ChromeOS: Added support for listing smartcard readers check-in: 64c4c68fa6 user: rkeene tags: trunk
2016-03-08
21:02
ChromeOS: Added support for informing the user if we are a certificate provider or not check-in: 188c4d598f user: rkeene tags: trunk
2016-03-01
03:10
ChromeOS: Updated to forget PINs that have not been used recently check-in: a7016d7084 user: rkeene tags: trunk
Changes

Modified build/chrome/ui.html from [22195d78ea] to [cc97e7803b].

1
2
3
4
5
6
7
8

9
10
11
1
2
3
4
5
6
7
8
9
10
11
12








+



<html>
	<head>
		<title>CACKey</title>
		<script type="text/javascript" src="jsrsasign.js"></script>
		<script type="text/javascript" src="ui.js"></script>
	</head>
	<body>
		<h1>CACKey for Chrome</h1>
		<div>Certificate Provider: <span id="certificate_provider"></span></div>
		<div>Certificates: <span id="certificates"></span></div>
	</body>
</html>

Modified build/chrome/ui.js from [213cbbd233] to [2cf5ac6095].

57
58
59
60
61
62
63














64
65
66

67
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82







+
+
+
+
+
+
+
+
+
+
+
+
+
+



+

		globalCerts = certs;

		displayCerts(htmlObject, certs);
	});

	return;
}

function updateCertificateProvider(htmlObject) {
	var resultHTML;

	if (chrome.certificateProvider) {
		resultHTML = "Yes (ChromeOS)";
	} else {
		resultHTML = "<b>No, informational only.</b>";
	}

	htmlObject.innerHTML = resultHTML;

	return;
}

setTimeout(function() {
	updateCertificates(document.getElementById('certificates'));
	updateCertificateProvider(document.getElementById('certificate_provider'));
}, 1);